[Freeswitch-svn] [commit] r2739 - freeswitch/trunk/src/mod/languages/mod_python
Freeswitch SVN
docelmo at freeswitch.org
Mon Sep 18 07:47:26 EDT 2006
Author: docelmo
Date: Mon Sep 18 07:47:25 2006
New Revision: 2739
Modified:
freeswitch/trunk/src/mod/languages/mod_python/Makefile
Log:
Fix linking problem
Modified: freeswitch/trunk/src/mod/languages/mod_python/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_python/Makefile (original)
+++ freeswitch/trunk/src/mod/languages/mod_python/Makefile Mon Sep 18 07:47:25 2006
@@ -1,4 +1,4 @@
-LCFLAGS=-fPIC -DZTS -DPTHREADS -Xlinker
+LCFLAGS=-fPIC -DZTS -DPTHREADS
CFLAGS += -fPIC -I$(PREFIX)/include/python2.4/
PYMOD=freeswitch
LDFLAGS=-lpython2.4 -Xlinker -L$(PREFIX)/lib/python2.4/config/
@@ -31,7 +31,7 @@
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c $(MODNAME).o $(OBJS) Makefile
- $(CC) $(LCFLAGS) $(SOLINK) -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(MODNAME).o $(OBJS) $(LDFLAGS)
+ $(CC) $(LCFLAGS) -shared -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(MODNAME).o $(OBJS) $(LDFLAGS)
clean:
rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~
More information about the Freeswitch-svn
mailing list