build-sys: use LN_S in Makefile.am

For consistency only. We're Linux only, so it really makes no
difference.

https://bugs.freedesktop.org/show_bug.cgi?id=63036
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2013-04-05 07:25:10 -04:00
parent b7f247e0be
commit ac2b34e155

View file

@ -222,7 +222,7 @@ define add-wants
$(MKDIR_P) -m 0755 $$dir && \
cd $$dir && \
rm -f $$what && \
for i in $$what; do ln -s ../$$i . || exit $$? ; done )
for i in $$what; do $(LN_S) ../$$i . || exit $$? ; done )
endef
install-directories-hook:
@ -240,7 +240,7 @@ define install-aliases
$(MKDIR_P) /$(DESTDIR)$$dir && \
while [ -n "$$1" ]; do \
rm -f $(DESTDIR)$$dir/$$2 && \
ln -s $$1 $(DESTDIR)$$dir/$$2 && \
$(LN_S) $$1 $(DESTDIR)$$dir/$$2 && \
shift 2 || exit $$?; \
done
endef