Skip to contentSkip to conversation

build: Drop use of ln -t

PATCH New Denis Kenzior 1 participant 1 message Feb 20, 2024 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: Drop use of ln -t

Some systems, such as ones based on busybox, do not support the -t option.

---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile.am +2 -2
index e7fd030f..e19bf976 100644
@@ -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 > $@
 
Signature · 1 line
2.43.0