From: Nicolas Thill Date: Tue, 13 Jan 2009 02:00:27 +0000 (+0000) Subject: stay compatible with Kamikaze 8.09 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6c429edc4b00c9d05d9dd5c4205486f4804e6685;p=openwrt%2Fsvn-archive%2Fpackages.git stay compatible with Kamikaze 8.09 SVN-Revision: 14008 --- diff --git a/libs/libxapian/Makefile b/libs/libxapian/Makefile index 38e15d454..9a11ea7b2 100644 --- a/libs/libxapian/Makefile +++ b/libs/libxapian/Makefile @@ -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