[Freeswitch-branches] [commit] r2601 - freeswitch/branches/docelmo/trunk/src/mod/languages/mod_python

Freeswitch SVN docelmo at freeswitch.org
Sun Sep 10 01:03:44 EDT 2006


Author: docelmo
Date: Sun Sep 10 01:03:43 2006
New Revision: 2601

Modified:
   freeswitch/branches/docelmo/trunk/src/mod/languages/mod_python/Makefile

Log:
Fixed linking issue

Modified: freeswitch/branches/docelmo/trunk/src/mod/languages/mod_python/Makefile
==============================================================================
--- freeswitch/branches/docelmo/trunk/src/mod/languages/mod_python/Makefile	(original)
+++ freeswitch/branches/docelmo/trunk/src/mod/languages/mod_python/Makefile	Sun Sep 10 01:03:43 2006
@@ -1,5 +1,5 @@
 LCFLAGS=-fPIC -DZTS -DPTHREADS -Xlinker -export-dynamic
-CFLAGS += -fPIC -I/usr/local/include/python2.4/
+CFLAGS += -fPIC -I/usr/include/python2.3/ -lpython2.3 -Xlinker -export-dynamic -L/usr/lib/
 PYMOD=freeswitch
 
 
@@ -9,7 +9,7 @@
 	$(CC) $(LCFLAGS) $(CFLAGS) -c $< -o $@
 
 mod_python.c:
-	$(CC) $(LCFLAGS) $(CFLAGS) -c mod_python.c -o mod_python.o
+	$(CC) $(LCFLAGS) $(CFLAGS) -c  mod_python.c -o mod_python.o
 
 reswig: 
 	rm -f switch_swig_wrap.c config.m4 CREDITS *${PYMOD}*
@@ -34,7 +34,6 @@
 	rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~
 
 install:
-	mkdir -p $(MDIR)
-	cp -f php_$(PYMOD).$(DYNAMIC_LIB_EXTEN) $(MDIR)
+	#cp -f py_$(PYMOD).$(DYNAMIC_LIB_EXTEN) $(MDIR)
 	cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod
-	#cp -f $(PYMOD).php $(PREFIX)/lib/php
+	



More information about the Freeswitch-branches mailing list