build: Fix VPATH build

$(srcdir) is already part of $$file since commit f1f9a7ac7e.
This commit is contained in:
Jiri Denemark 2012-12-13 16:38:48 +01:00
parent 8d0e7eb4c1
commit d0d3e92d0b

View File

@ -1451,7 +1451,7 @@ libvirt.syms: libvirt_public.syms $(USED_SYM_FILES) \
printf 'LIBVIRT_PRIVATE_$(VERSION) {\n\n' >>$@-tmp && \
printf 'global:\n\n' >>$@-tmp && \
for file in $(USED_SYM_FILES); do \
cat $(srcdir)/$$file >>$@-tmp; \
cat $$file >>$@-tmp; \
done && \
printf '\n\nlocal:\n*;\n\n};' >>$@-tmp && \
chmod a-w $@-tmp && \