esl/python: swig needs -thread to properly release the GIL while in blocking calls

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16658 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2010-02-16 07:01:38 +00:00
parent d8fd646456
commit ce4d8fdc2b

View 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