libstdc++ is now installed in $(TOOLCHAIN_DIR)/usr/lib, search flag "-L$(TOOLCHAIN_DI...
authorNicolas Thill <nico@openwrt.org>
Tue, 13 Jan 2009 00:56:58 +0000 (00:56 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 13 Jan 2009 00:56:58 +0000 (00:56 +0000)
SVN-Revision: 14003

libs/libxapian/Makefile

index 02964bea017c1c0220a535d238141818659f00bd..38e15d454b86bad29544e8d8d75deae485d8394c 100644 (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.
 # 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