[packages/libxapian/Makefile] libstdc++ is now installed in $(TOOLCHAIN_DIR)/usr/lib, search flag "-L$(TOOLCHAIN_DIR)/lib" is not needed

git-svn-id: svn://svn.openwrt.org/openwrt/packages@14003 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2009-01-13 00:56:58 +00:00
parent b8f2be5466
commit 18c66f3de7

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2008 OpenWrt.org # Copyright (C) 2008-2009 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -23,7 +23,6 @@ PKG_INSTALL=1
EXTRA_LDFLAGS+= \ EXTRA_LDFLAGS+= \
-L$(STAGING_DIR)/usr/lib/libintl/lib \ -L$(STAGING_DIR)/usr/lib/libintl/lib \
-L$(STAGING_DIR)/usr/lib/libiconv/lib \ -L$(STAGING_DIR)/usr/lib/libiconv/lib \
-L$(TOOLCHAIN_DIR)/lib
define Package/libxapian define Package/libxapian
SECTION:=lib SECTION:=lib
@ -60,7 +59,7 @@ define Build/InstallDev
#FIXME: Libtool should handle this #FIXME: Libtool should handle this
$(SED) \ $(SED) \
"s,$(STAGING_DIR)/usr/lib/libstdc++,$(TOOLCHAIN_DIR)/lib/libstdc++,g" \ "s,$(STAGING_DIR)/usr/lib/libstdc++,$(TOOLCHAIN_DIR)/usr/lib/libstdc++,g" \
$(1)/usr/lib/libxapian.la $(1)/usr/lib/libxapian.la
endef endef