[packages] dibbler libc++ fix
authorJohn Crispin <john@openwrt.org>
Fri, 3 Aug 2012 21:35:30 +0000 (21:35 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 3 Aug 2012 21:35:30 +0000 (21:35 +0000)
SVN-Revision: 32961

ipv6/dibbler/Makefile

index 8749721244bfe8627520f6c5b5d51dbed48b7418..4b104b81e282ddf5727fa7a5e67572b7b4cd97df 100644 (file)
@@ -15,12 +15,13 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler
 PKG_MD5SUM:=313044c95af3091607127a05c338d8ec
 
+include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/dibbler/Default
   SECTION:=ipv6
   CATEGORY:=IPv6
-  DEPENDS:=+uclibcxx +libpthread
+  DEPENDS:=$(CXX_DEPENDS) +libpthread
   TITLE:=Dibbler, a portable DHCPv6 implementation
   URL:=http://klub.com.pl/dhcpv6/
 endef
@@ -83,8 +84,6 @@ define Package/dibbler-server/description
        This package contains the dibbler server.
 endef
 
-TARGET_CXX = $(STAGING_DIR)/host/bin/g++-uc
-
 define Package/dibbler-client/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-client $(1)/usr/sbin/