[Freeswitch-svn] [commit] r4653 - freeswitch/trunk/src/mod/codecs/mod_amr

Freeswitch SVN mikej at freeswitch.org
Mon Mar 19 08:38:08 EDT 2007


Author: mikej
Date: Mon Mar 19 08:38:08 2007
New Revision: 4653

Modified:
   freeswitch/trunk/src/mod/codecs/mod_amr/Makefile

Log:
fix amr build

Modified: freeswitch/trunk/src/mod/codecs/mod_amr/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_amr/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_amr/Makefile	Mon Mar 19 08:38:08 2007
@@ -1,6 +1,10 @@
 BASE=../../../..
 
-LOCAL_INSERT_CFLAGS=if test -d $(BASE)/libs/amr; then echo "-I$(PREFIX)/include/amr" ; else echo "-DAMR_PASSTHROUGH" ; fi ;
-LOCAL_INSERT_LDFLAGS=test ! -d $(BASE)/libs/amp || echo "-lamr"
+AMR_DIR=$(BASE)/libs/amr
+AMR_A=$(AMR_DIR)/libamr.a
+
+LOCAL_INSERT_CFLAGS=if test -d $(AMR_DIR); then echo "-I$(AMR_DIR)" ; else echo "-DAMR_PASSTHROUGH" ; fi ;
+LOCAL_INSERT_LDFLAGS=test ! -d $(AMR_DIR) || echo "$(AMR_A)";
+
 
 include $(BASE)/build/modmake.rules



More information about the Freeswitch-svn mailing list