From: Florian Fainelli Date: Wed, 22 Aug 2007 09:13:42 +0000 (+0000) Subject: Make the libtool fix more dynamic X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c994e41757e4953c0472de94c798123a8bf911b8;p=openwrt%2Fstaging%2Fthess.git Make the libtool fix more dynamic SVN-Revision: 8461 --- diff --git a/include/package.mk b/include/package.mk index 81296b8446..a13b6a2cee 100644 --- a/include/package.mk +++ b/include/package.mk @@ -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