peerguardian: Remove uclibc++ dep.

Linking to uclibc++ and libstdc++ results in duplicate symbols and linker problems.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@23354 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mb 2010-10-09 09:08:18 +00:00
parent 08ba2ab5a8
commit f3a77ad715

View File

@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/peerguardian
SECTION:=net
CATEGORY:=Network
DEPENDS:= +libncurses +libpthread +uclibcxx +libnetfilter-queue
DEPENDS:= +libncurses +libpthread +libnetfilter-queue
TITLE:=PeerGuardian for Linux
URL:=http://phoenixlabs.org/
endef
@ -39,13 +39,14 @@ define Package/peerguardian/conffiles
/etc/p2p.p2b.p2p
endef
EXTRA_CFLAGS:=-fno-rtti -I$(STAGING_DIR)/usr/include/libnetfilter_queue/
CONFIGURE_VARS+= \
CXXFLAGS="$$$$CXXFLAGS $$$$CPPFLAGS -fno-builtin -fno-rtti -I$(STAGING_DIR)/usr/include/libnetfilter_queue/" \
LIBS="-nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm $(LIBGCC_S)" \
LIBS="-lm"
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CXXLD="$(TARGET_CC)"
CXXLD="$(TARGET_CXX)"
endef
define Package/peerguardian/install