From: Florian Fainelli Date: Fri, 4 Jan 2008 03:32:34 +0000 (+0000) Subject: Fix asterisk-1.4.x compilation with speex X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c060ec2b02e3d9067b2333a304723c57f5415e94;p=openwrt%2Fsvn-archive%2Farchive.git Fix asterisk-1.4.x compilation with speex SVN-Revision: 10107 --- diff --git a/net/asterisk-1.4.x/Makefile b/net/asterisk-1.4.x/Makefile index 11e55b4408..17aa9dc01d 100644 --- a/net/asterisk-1.4.x/Makefile +++ b/net/asterisk-1.4.x/Makefile @@ -336,6 +336,8 @@ endif ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk14-codec-speex),) CONFIGURE_ARGS+= \ --with-speex="$(STAGING_DIR)/usr" + SITE_VARS+= \ + ac_cv_lib_speex_speex_encode=yes EXTRA_CFLAGS+= -I$(STAGING_DIR)/usr/include/speex else CONFIGURE_ARGS+= \ @@ -369,7 +371,7 @@ endif define Build/Configure ( cd $(PKG_BUILD_DIR); ./bootstrap.sh ) - $(call Build/Configure/Default) + $(call Build/Configure/Default,,$(SITE_VARS)) endef define Build/Compile