add a workaround preventing libtool from hardcoding library path in shared libs
[openwrt.git] / package / libtool / Makefile
index d03920f..324025a 100644 (file)
@@ -4,7 +4,6 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
 
 include $(TOPDIR)/rules.mk
 
@@ -41,7 +40,8 @@ define Build/InstallDev
        mv $(2)/lib/* $(1)/usr/lib/
        mv $(2)/include/* $(1)/usr/include/
        $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
-       mv $(2)/share/aclocal/* $(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
This page took 0.018754 seconds and 4 git commands to generate.