From: ddennedy Date: Sat, 16 Feb 2008 05:50:52 +0000 (+0000) Subject: swig/python/build: add -fPIC X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=b1e43d27f36bdbb0ec9574d0b0d5ac75b62842eb;p=melted swig/python/build: add -fPIC git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@1074 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/mlt++/swig/python/build b/mlt++/swig/python/build index 17ec48e..5cd89d3 100755 --- a/mlt++/swig/python/build +++ b/mlt++/swig/python/build @@ -15,7 +15,7 @@ then swig -c++ -I../../src `mlt-config --cflags` -python mltpp.i || exit $? # Compile the wrapper - g++ -D_GNU_SOURCE -c -rdynamic -pthread `mlt-config --cflags` -I$PYTHON_INCLUDE mltpp_wrap.cxx || exit $? + g++ -fPIC -D_GNU_SOURCE -c -rdynamic -pthread `mlt-config --cflags` -I$PYTHON_INCLUDE mltpp_wrap.cxx || exit $? # Create the module ld -shared mltpp_wrap.o -L../../src -lmlt++ -o _mltpp.so || exit $?