From: Felix Fietkau Date: Thu, 19 Aug 2010 17:46:11 +0000 (+0000) Subject: fix libtool fixup for libstdc++ X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c4b3e38fc00270e30b346df6d16cd5c3a921193f;p=openwrt%2Fstaging%2Frmilecki.git fix libtool fixup for libstdc++ SVN-Revision: 22732 --- diff --git a/include/autotools.mk b/include/autotools.mk index c941a4949d0..1ddb49b7d4f 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