add a workaround preventing libtool from hardcoding library path in shared libs
authorNicolas Thill <nico@openwrt.org>
Fri, 17 Apr 2009 14:44:50 +0000 (14:44 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 17 Apr 2009 14:44:50 +0000 (14:44 +0000)
SVN-Revision: 15246

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/
+       $(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(2)/bin/libtool
 endef
 
 define Package/libltdl/install