[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:
parent
b8f2be5466
commit
18c66f3de7
@ -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.
|
||||
# See /LICENSE for more information.
|
||||
@ -23,7 +23,6 @@ PKG_INSTALL=1
|
||||
EXTRA_LDFLAGS+= \
|
||||
-L$(STAGING_DIR)/usr/lib/libintl/lib \
|
||||
-L$(STAGING_DIR)/usr/lib/libiconv/lib \
|
||||
-L$(TOOLCHAIN_DIR)/lib
|
||||
|
||||
define Package/libxapian
|
||||
SECTION:=lib
|
||||
@ -60,7 +59,7 @@ define Build/InstallDev
|
||||
|
||||
#FIXME: Libtool should handle this
|
||||
$(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
|
||||
endef
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user