mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
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:
parent
d8fd646456
commit
ce4d8fdc2b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user