diff mbox series

build: Drop use of ln -t

Message ID 20240220152748.1249770-1-denkenz@gmail.com (mailing list archive)
State Under Review
Headers show
Series build: Drop use of ln -t | expand

Commit Message

Denis Kenzior Feb. 20, 2024, 3:27 p.m. UTC
Some systems, such as ones based on busybox, do not support the -t
option.
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Makefile.am b/Makefile.am
index e7fd030f..e19bf976 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1090,7 +1090,7 @@  ell/shared: Makefile
 	$(AM_V_at)$(MKDIR_P) ell
 	$(AM_V_GEN)for f in $(ell_shared) ; do \
 		if [ ! -f $$f ] ; then \
-			$(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
+			$(LN_S) -f $(abs_srcdir)/../ell/$$f ell; \
 		fi \
 	done > $@
 
@@ -1098,7 +1098,7 @@  ell/internal: Makefile
 	$(AM_V_at)$(MKDIR_P) ell
 	$(AM_V_GEN)for f in $(ell_headers) $(ell_sources) ; do \
 		if [ ! -f $$f ] ; then \
-			$(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
+			$(LN_S) -f $(abs_srcdir)/../ell/$$f ell; \
 		fi \
 	done > $@