mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-14 12:58:33 +03:00
build: use fewer cat processes
* src/Makefile.am (libvirt.syms): Let cat loop for us.
This commit is contained in:
parent
b28fb61fd7
commit
c0a8056ee2
@ -1457,9 +1457,7 @@ libvirt.syms: libvirt_public.syms $(USED_SYM_FILES) \
|
||||
printf '\n\n# Private symbols\n\n' >>$@-tmp && \
|
||||
printf 'LIBVIRT_PRIVATE_$(VERSION) {\n\n' >>$@-tmp && \
|
||||
printf 'global:\n\n' >>$@-tmp && \
|
||||
for file in $(USED_SYM_FILES); do \
|
||||
cat $$file >>$@-tmp; \
|
||||
done && \
|
||||
cat $(USED_SYM_FILES) >>$@-tmp && \
|
||||
printf '\n\nlocal:\n*;\n\n};' >>$@-tmp && \
|
||||
chmod a-w $@-tmp && \
|
||||
mv $@-tmp libvirt.syms
|
||||
|
Loading…
x
Reference in New Issue
Block a user