Fix asterisk-1.4.x compilation with speex
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10107 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2c96b3a80e
commit
d525f423d3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user