]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
esl/python: swig needs -thread to properly release the GIL while in blocking calls
authorMathieu Rene <mrene@avgs.ca>
Tue, 16 Feb 2010 07:01:38 +0000 (07:01 +0000)
committerMathieu Rene <mrene@avgs.ca>
Tue, 16 Feb 2010 07:01:38 +0000 (07:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16658 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/python/Makefile

index a231b1e74fa2d971920abeb489de8f8095d54731..e3e01120313226737f4533f79f9e5420c3161914 100644 (file)
@@ -4,7 +4,7 @@ LOCAL_LDFLAGS=-lpython2.4
 all: _ESL.so
 
 esl_wrap.cpp:
-       swig -module ESL -classic -python -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
+       swig -module ESL -classic -python -c++ -DMULTIPLICITY -threads -I../src/include -o esl_wrap.cpp ../ESL.i
 
 esl_wrap.o: esl_wrap.cpp
        $(CXX) $(CXX_CFLAGS) $(CXXFLAGS) $(LOCAL_CFLAGS) -c esl_wrap.cpp -o esl_wrap.o