From: Mathieu Rene Date: Tue, 16 Feb 2010 07:01:38 +0000 (+0000) Subject: esl/python: swig needs -thread to properly release the GIL while in blocking calls X-Git-Tag: v1.0.6~466 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce4d8fdc2b1b6a5de8476586d7e2a240aa4f8a6d;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/libs/esl/python/Makefile b/libs/esl/python/Makefile index a231b1e74f..e3e0112031 100644 --- a/libs/esl/python/Makefile +++ b/libs/esl/python/Makefile @@ -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