From 2d80e18c40060e989e53e49786e91bd3ce4b32ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20B=C3=BCsch?= Date: Sat, 9 Oct 2010 09:08:18 +0000 Subject: [PATCH] peerguardian: Remove uclibc++ dep. Linking to uclibc++ and libstdc++ results in duplicate symbols and linker problems. SVN-Revision: 23354 --- net/peerguardian/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/net/peerguardian/Makefile b/net/peerguardian/Makefile index c7b4c62b14..383ecbe419 100644 --- a/net/peerguardian/Makefile +++ b/net/peerguardian/Makefile @@ -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 -- 2.30.2