From: Traun Leyden Date: Wed, 27 Jun 2007 17:17:24 +0000 (+0000) Subject: Use SWIFT_HOME environment variable instead of hardcoded path X-Git-Tag: v1.0-beta1~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e48e2cc2855faf6466974da3cb01ddabe71e44a3;p=thirdparty%2Ffreeswitch.git Use SWIFT_HOME environment variable instead of hardcoded path git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5479 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/asr_tts/mod_cepstral/Makefile b/src/mod/asr_tts/mod_cepstral/Makefile index 2ab6609769..adb1e26cf0 100644 --- a/src/mod/asr_tts/mod_cepstral/Makefile +++ b/src/mod/asr_tts/mod_cepstral/Makefile @@ -1,6 +1,6 @@ -LOCAL_INSERT_LDFLAGS=if test $$osarch = "Darwin" ; then echo "-framework swift" ; else echo "-L/opt/swift/lib -lswift -lceplex_us -lceplang_en -lm" ; fi ; +LOCAL_INSERT_LDFLAGS=if test $$osarch = "Darwin" ; then echo "-framework swift" ; else echo "-L$(SWIFT_HOME)/lib -lswift -lceplex_us -lceplang_en -lm" ; fi ; -LOCAL_INSERT_CFLAGS=test $$osarch = "Darwin" || echo "-I/opt/swift/include"; +LOCAL_INSERT_CFLAGS=test $$osarch = "Darwin" || echo "-I$(SWIFT_HOME)/include"; LOCAL_CFLAGS=-w include ../../../../build/modmake.rules