Author: jogo Date: 2014-11-19 13:17:34 +0100 (Wed, 19 Nov 2014) New Revision: 43314
Modified: trunk/package/libs/toolchain/Makefile Log: toolchain: musl: fix symlink for ldd ld-musl-*.so* is a symlink "broken" for the hostsystem, so wildcard will skip it, causing LD_MUSL_NAME to empty and the ldd symlink pointing to ../../lib directly. This causes sysupgrade failing to copy any linked libaries and consequently failing to run anything after switching to ram disk. Fix this by creating a symlink directly pointing to where ld-musl-*.so* points to. Signed-off-by: Jonas Gorski <[email protected]> Modified: trunk/package/libs/toolchain/Makefile =================================================================== --- trunk/package/libs/toolchain/Makefile 2014-11-19 10:59:12 UTC (rev 43313) +++ trunk/package/libs/toolchain/Makefile 2014-11-19 12:17:34 UTC (rev 43314) @@ -466,7 +466,7 @@ $(1)/lib/ endef - LD_MUSL_NAME = $(notdir $(firstword $(wildcard $(TOOLCHAIN_DIR)/lib/ld-musl-*.so*))) + LD_MUSL_NAME = $(notdir $(firstword $(wildcard $(TOOLCHAIN_DIR)/lib/libc.so*))) define Package/musl/install $(INSTALL_DIR) $(1)/lib $(1)/usr/bin _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
