[package] link dibbler-server against libstdc++, does not work with uclibc++ (#6905)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20351 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b256cb20e7
commit
d0364ff5c3
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=dibbler
|
PKG_NAME:=dibbler
|
||||||
PKG_VERSION:=0.7.3
|
PKG_VERSION:=0.7.3
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
|
||||||
PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler/
|
PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler/
|
||||||
@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/dibbler/Default
|
define Package/dibbler/Default
|
||||||
SECTION:=ipv6
|
SECTION:=ipv6
|
||||||
CATEGORY:=IPv6
|
CATEGORY:=IPv6
|
||||||
DEPENDS:=+uclibcxx @LINUX_2_6 +libpthread
|
DEPENDS:=+libstdcpp @LINUX_2_6 +libpthread
|
||||||
TITLE:=Dibbler, a portable DHCPv6 implementation
|
TITLE:=Dibbler, a portable DHCPv6 implementation
|
||||||
URL:=http://klub.com.pl/dhcpv6/
|
URL:=http://klub.com.pl/dhcpv6/
|
||||||
endef
|
endef
|
||||||
@ -106,12 +106,12 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
# link stuff missing from uClibc++ but present in stdc++ statically
|
# link stuff missing from uClibc++ but present in stdc++ statically
|
||||||
CXX_LIBS:= -nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -lgcc
|
CXX_LIBS:= -lstdc++ -lm -lgcc
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
PORT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -fno-builtin" \
|
PORT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
PORT_LDFLAGS="$(TARGET_LDFLAGS)" \
|
PORT_LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
DEBUGINFO= \
|
DEBUGINFO= \
|
||||||
CXXLD="$(TARGET_CC)" \
|
CXXLD="$(TARGET_CC)" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user