From: nico Date: Fri, 17 Apr 2009 14:44:50 +0000 (+0000) Subject: add a workaround preventing libtool from hardcoding library path in shared libs X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=e6a2f81c9cf8a6749cde3ea640150c2c496971b7;p=openwrt.git add a workaround preventing libtool from hardcoding library path in shared libs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15246 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/libtool/Makefile b/package/libtool/Makefile index 62895a8087..324025a295 100644 --- a/package/libtool/Makefile +++ b/package/libtool/Makefile @@ -41,6 +41,7 @@ define Build/InstallDev mv $(2)/include/* $(1)/usr/include/ $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal $(CP) $(2)/share/aclocal/* $(STAGING_DIR_HOST)/share/aclocal/ + $(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(2)/bin/libtool endef define Package/libltdl/install