link ctorrent against uclibc++ instead of libcstc++
authorPeter Wagner <​tripolar@gmx.at>
Thu, 4 Mar 2010 00:11:33 +0000 (00:11 +0000)
committerPeter Wagner <​tripolar@gmx.at>
Thu, 4 Mar 2010 00:11:33 +0000 (00:11 +0000)
SVN-Revision: 19968

net/ctorrent/Makefile

index d2664f5298ce36ca6160a44a2e61527815113068..d9985c2bd6471466ae846b2abf827f299b9d2038 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ctorrent
 PKG_VERSION:=dnh3.3.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/dtorrent \
@@ -60,7 +60,8 @@ endef
 
 CONFIGURE_VARS += \
        CXX="g++-uc" \
-       CXXFLAGS="$$$$CXXFLAGS -fno-rtti" 
+       CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
+       LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -luClibc++"
 
 ifeq ($(BUILD_VARIANT),ssl)
        CONFIGURE_ARGS += \