From: Sebastian Kemper Date: Tue, 13 Mar 2018 12:03:45 +0000 (+0100) Subject: asterisk-15.x: use preferred standard C++ lib X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1b493c6532ac64fbf2bb4de22ce816c635421e1a;p=feed%2Ftelephony.git asterisk-15.x: use preferred standard C++ lib Currently libstdc++ is hardcoded. Change that and use whatever standard C++ lib has preference. Signed-off-by: Sebastian Kemper --- diff --git a/net/asterisk-15.x/Makefile b/net/asterisk-15.x/Makefile index 5eb1df8..7e95fea 100644 --- a/net/asterisk-15.x/Makefile +++ b/net/asterisk-15.x/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=asterisk15 PKG_VERSION:=15.2.2 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases @@ -319,6 +319,7 @@ PKG_CONFIG_DEPENDS:= \ $(patsubst %,CONFIG_PACKAGE_$(PKG_NAME)-util-%,$(UTILS_AVAILABLE)) \ CONFIG_ASTERISK15_LOW_MEMORY +include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk @@ -428,7 +429,7 @@ define Package/asterisk15 $(call Package/asterisk15/Default) TITLE:=Complete open source PBX, v$(PKG_VERSION) MENU:=1 - DEPENDS:=+jansson +libcap +libedit +libncurses +libopenssl +libsqlite3 +libstdcpp +libuuid +libxml2 +zlib + DEPENDS:=$(CXX_DEPENDS) +jansson +libcap +libedit +libncurses +libopenssl +libsqlite3 +libuuid +libxml2 +zlib endef define Package/asterisk15/description