projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36fa8ff
)
Make the libtool fix more dynamic
author
Florian Fainelli
<florian@openwrt.org>
Wed, 22 Aug 2007 09:13:42 +0000
(09:13 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Wed, 22 Aug 2007 09:13:42 +0000
(09:13 +0000)
SVN-Revision: 8461
include/package.mk
patch
|
blob
|
history
diff --git
a/include/package.mk
b/include/package.mk
index 81296b8446244c64d0d08528f8c47fbc73b25c95..a13b6a2cee0e615b35d8b66a5d3560cfea4a192e 100644
(file)
--- 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