diff --git a/codecs/Makefile b/codecs/Makefile index bfe6b7cf6feb4f206bb1777d89f631114e3d1825..e4beeea281bded1adc6f7582537bf47f8cf5a586 100755 --- a/codecs/Makefile +++ b/codecs/Makefile @@ -19,7 +19,7 @@ #MODG723=codec_g723_1.so codec_g723_1b.so MODG723=$(shell [ -f g723.1/coder.c ] && echo "codec_g723_1.so") MODG723+=$(shell [ -f g723.1b/coder2.c ] && echo "codec_g723_1b.so") -MODSPEEX=$(shell [ -f /usr/include/speex.h ] && echo "codec_speex.so") +MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/local/include/speex.h ] && echo "codec_speex.so") CFLAGS+= LIBG723=g723.1/libg723.a