[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)
|
||||
$(call Package/yate/Default)
|
||||
DEPENDS:=+libpthread @BROKEN
|
||||
DEPENDS:=+libpthread +uclibcxx @BROKEN
|
||||
TITLE:=Yet Another Telphony Engine
|
||||
MENU:=1
|
||||
endef
|
||||
@ -42,7 +42,7 @@ define Package/$(PKG_NAME)/Default/description
|
||||
SIP, H.323, IAX, PSTN, and more.
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--sysconfdir=/etc/$(PKG_NAME) \
|
||||
@ -62,7 +62,9 @@ CONFIGURE_ARGS+= \
|
||||
--with-zlib="$(STAGING_DIR)/usr"
|
||||
|
||||
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
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user