From 73460d3046300f62dd07aef6d1a4182d03f113e1 Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Tue, 15 Mar 2011 08:30:10 +0000 Subject: [PATCH] [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! SVN-Revision: 26173 --- net/yate/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/yate/Makefile b/net/yate/Makefile index bd4d52caeb..43f6345805 100644 --- a/net/yate/Makefile +++ b/net/yate/Makefile @@ -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 -- 2.30.2