summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-19 17:46:11 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-19 17:46:11 +0000
commitea03f0404effa2010d49892f29149acb00790518 (patch)
tree391a852d8f0f51ba16611b920ed9f2c68a4407e3
parenta08da9504aa098d1044e0203913a0e76b29d993c (diff)
fix libtool fixup for libstdc++
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22732 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/autotools.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index c941a4949..1ddb49b7d 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -38,7 +38,7 @@ autoconf_bool = $(patsubst %,$(if $($(1)),--enable,--disable)-%,$(2))
define libtool_fixup_libdir
find $(1) -name '*.la' | $(XARGS) \
$(SED) "s,\(^libdir='\| \|-L\|^dependency_libs='\)/usr/lib,\1$(STAGING_DIR)/usr/lib,g" \
- -e "s,$(STAGING_DIR)/usr/lib/\(libstdc++\|libsupc++\).la,$(TOOLCHAIN_DIR)/usr/lib/\1.la,g"
+ -e "s,$(STAGING_DIR)/usr/lib/\(libstdc++\|libsupc++\).la,$(TOOLCHAIN_DIR)/lib/\1.la,g"
endef
define remove_version_check