aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-12 05:53:32 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-12 05:53:32 +0000
commitd919b6113dd914d7894786fbecee8f09398b3f0a (patch)
treee8f3e97b5bb74ea7c9a9a91a3bf2d11a48e49281 /codecs
parentb61285c1d9e13b7c8f7af8cc4837540226cd99c3 (diff)
Fix speex build (bug #3761)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5172 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rwxr-xr-xcodecs/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/codecs/Makefile b/codecs/Makefile
index 61d9f1c3a..31c67dfc2 100755
--- a/codecs/Makefile
+++ b/codecs/Makefile
@@ -19,11 +19,12 @@
#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 ] || [ -f /usr/local/include/speex.h ] || [ -f /usr/local/include/speex/speex.h ] && echo "codec_speex.so")
+MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/include/speex/speex.h ] || [ -f /usr/local/include/speex.h ] || [ -f /usr/local/include/speex/speex.h ] && echo "codec_speex.so")
MODILBC=$(shell [ -f ilbc/iLBC_decode.h ] && echo "codec_ilbc.so")
CFLAGS+=-fPIC
CFLAGS+=$(shell [ -f /usr/local/include/speex.h ] && echo "-I/usr/local/include")
CFLAGS+=$(shell [ -f /usr/local/include/speex/speex.h ] && echo "-I/usr/local/include/speex")
+CFLAGS+=$(shell [ -f /usr/include/speex/speex.h ] && echo "-I/usr/include/speex")
LIBG723=g723.1/libg723.a
LIBG723B=g723.1b/libg723b.a