[packages] mgen libc++ fix

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32968 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-08-03 21:35:43 +00:00
parent 46d2b05f2c
commit 9f424007d6

View File

@ -17,13 +17,14 @@ PKG_MD5SUM:=1e467131446d649c8a0aebdcd8e5f2a9
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk
define Package/mgen
TITLE:=Multi-Generator
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpthread +uclibcxx
DEPENDS:=+libpthread $(CXX_DEPENDS)
URL:=http://cs.itd.nrl.navy.mil/work/mgen/
endef
@ -37,7 +38,7 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/unix \
CC="g++-uc" \
CC="$(TARGET_CXX)" \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
SYSTEM_LIBS="-ldl -lpthread -luClibc++" \