[net] Telephony: yate: Added needed libraries and flags to configure for Yate to execute not just compile. Closes: #9039 and Closes: #9043. Based on patch and tickets from Dimitry Kurochkin. Thanks!
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26173 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9ad4ff10d6
commit
438e2724ab
@ -32,7 +32,7 @@ endef
|
|||||||
|
|
||||||
define Package/$(PKG_NAME)
|
define Package/$(PKG_NAME)
|
||||||
$(call Package/yate/Default)
|
$(call Package/yate/Default)
|
||||||
DEPENDS:=+libpthread @BROKEN
|
DEPENDS:=+libpthread +uclibcxx @BROKEN
|
||||||
TITLE:=Yet Another Telphony Engine
|
TITLE:=Yet Another Telphony Engine
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
@ -62,7 +62,9 @@ CONFIGURE_ARGS+= \
|
|||||||
--with-zlib="$(STAGING_DIR)/usr"
|
--with-zlib="$(STAGING_DIR)/usr"
|
||||||
|
|
||||||
CONFIGURE_VARS+= \
|
CONFIGURE_VARS+= \
|
||||||
LIBS="-lpthread -lresolv"
|
CFLAGS="$$$$CFLAGS -nostdinc++" \
|
||||||
|
LDFLAGS="$$$$LDFLAGS -nodefaultlibs" \
|
||||||
|
LIBS="-luClibc++ -lpthread -lresolv -ldl -lm -lc $(LIBGCC_S)"
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/install
|
define Package/$(PKG_NAME)/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user