From ce4d8fdc2b1b6a5de8476586d7e2a240aa4f8a6d Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Tue, 16 Feb 2010 07:01:38 +0000 Subject: [PATCH] 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 --- libs/esl/python/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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