Author: nbd
Date: 2014-09-12 01:13:29 +0200 (Fri, 12 Sep 2014)
New Revision: 42480

Modified:
   trunk/tools/Makefile
Log:
tools: install a fake empty ldconfig script to prevent the system ldconfig from 
messing around with the toolchain (fixes disappearing musl symlink issue)

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/tools/Makefile
===================================================================
--- trunk/tools/Makefile        2014-09-11 23:13:24 UTC (rev 42479)
+++ trunk/tools/Makefile        2014-09-11 23:13:29 UTC (rev 42480)
@@ -133,6 +133,10 @@
                false; \
        fi
 
+$(STAGING_DIR_HOST)/bin/ldconfig:
+       touch $@
+       chmod +x $@
+
 $(eval $(call PrepareCommand,md5sum,gmd5sum md5sum $(SCRIPT_DIR)/md5sum))
 $(eval $(call PrepareCommand,cp,gcp cp))
 $(eval $(call PrepareCommand,seq,gseq seq))
@@ -143,7 +147,7 @@
 $(eval $(call PrepareCommand,tar,gtar tar))
 $(eval $(call PrepareCommand,diff,gdiff diff))
 
-$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,md5sum cp stat seq 
python awk getopt grep tar diff)
+$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,md5sum cp stat seq 
python awk getopt grep tar diff ldconfig)
 $(curdir)//prepare = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared 
$($(curdir)/cmddeps)
 $(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared 
$($(curdir)/cmddeps)
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to