Misc (re #1994): Fixed linking errors when configuring with '--disable-speex-codec' and without '--disable-speex-aec' params.

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5568 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Nanang Izzuddin 2017-03-13 10:27:14 +00:00
parent d0c1efce8e
commit 2bf25fb6c9
2 changed files with 10 additions and 2 deletions

View File

@ -100,7 +100,7 @@ else
export CFLAGS += -I$(THIRD_PARTY)/build/speex -I$(THIRD_PARTY)/speex/include
export CODEC_OBJS += speex_codec.o
ifneq (@ac_no_speex_aec@,1)
ifeq (@ac_no_speex_aec@,)
export PJMEDIA_OBJS += echo_speex.o
endif

View File

@ -11,7 +11,15 @@ ifneq (@ac_no_ilbc_codec@,1)
DIRS += ilbc
endif
ifneq (@ac_no_speex_codec@,1)
# Exclude Speex?
EXCLUDE_SPEEX = 0
ifeq (@ac_no_speex_codec@,1)
ifneq (@ac_no_speex_aec@,)
EXCLUDE_SPEEX = 1
endif
endif
ifneq ($(EXCLUDE_SPEEX),1)
ifeq (@ac_external_speex@,1)
# External speex
else