[packages/libs/libxapian] stay compatible with Kamikaze 8.09
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14008 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
85152b6b1e
commit
96f4382cee
@ -58,9 +58,15 @@ define Build/InstallDev
|
||||
$(SED) 's,prefix=",prefix="$(STAGING_DIR),g' $(2)/bin/xapian-config
|
||||
|
||||
#FIXME: Libtool should handle this
|
||||
$(SED) \
|
||||
if [ -f $(TOOLCHAIN_DIR)/usr/lib/libstdc++.la ]; then \
|
||||
$(SED) \
|
||||
"s,$(STAGING_DIR)/usr/lib/libstdc++,$(TOOLCHAIN_DIR)/usr/lib/libstdc++,g" \
|
||||
$(1)/usr/lib/libxapian.la
|
||||
$(1)/usr/lib/libxapian.la ; \
|
||||
else \
|
||||
$(SED) \
|
||||
"s,$(STAGING_DIR)/usr/lib/libstdc++,$(TOOLCHAIN_DIR)/lib/libstdc++,g" \
|
||||
$(1)/usr/lib/libxapian.la ; \
|
||||
fi
|
||||
endef
|
||||
|
||||
define Package/libxapian/install
|
||||
|
Loading…
x
Reference in New Issue
Block a user