Make the libtool fix more dynamic
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 22 Aug 2007 09:13:42 +0000 (09:13 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 22 Aug 2007 09:13:42 +0000 (09:13 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8461 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/package.mk

index 81296b8..a13b6a2 100644 (file)
@@ -111,9 +111,9 @@ define Build/Fix/libtool/rpath
 endef
 
 # prevent libtool from linking against host development libraries
-define Build/Fix/libtool/libdir
+define Build/Fix/libtool
        find $(PKG_BUILD_DIR) -name '*.la' | xargs \
-               $(SED) "s,^libdir='/usr/lib',libdir='$(STAGING_DIR)/usr/lib',g"
+               $(SED) "s,^$(1)='/usr/lib',$(1)='$(STAGING_DIR)/usr/lib',g"
 endef
 
 define Build/Prepare
This page took 0.020912 seconds and 4 git commands to generate.