add a workaround preventing libtool from hardcoding library path in shared libs
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 17 Apr 2009 14:44:50 +0000 (14:44 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 17 Apr 2009 14:44:50 +0000 (14:44 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15246 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/libtool/Makefile

index 62895a8..324025a 100644 (file)
@@ -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/
        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
 endef
 
 define Package/libltdl/install
This page took 0.024462 seconds and 4 git commands to generate.