mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-17 22:24:04 +02:00
fix libtool fixup for libstdc++
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22732 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a08da9504a
commit
ea03f0404e
@ -38,7 +38,7 @@ autoconf_bool = $(patsubst %,$(if $($(1)),--enable,--disable)-%,$(2))
|
|||||||
define libtool_fixup_libdir
|
define libtool_fixup_libdir
|
||||||
find $(1) -name '*.la' | $(XARGS) \
|
find $(1) -name '*.la' | $(XARGS) \
|
||||||
$(SED) "s,\(^libdir='\| \|-L\|^dependency_libs='\)/usr/lib,\1$(STAGING_DIR)/usr/lib,g" \
|
$(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
|
endef
|
||||||
|
|
||||||
define remove_version_check
|
define remove_version_check
|
||||||
|
Loading…
Reference in New Issue
Block a user