]> git.sesse.net Git - mlt/commitdiff
Fix python binding for OS X
authorDan Dennedy <dan@dennedy.org>
Sat, 28 May 2011 07:32:23 +0000 (00:32 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 28 May 2011 07:32:23 +0000 (00:32 -0700)
src/swig/python/build

index 19189c6eb934dfabf8c1efb37d7f4a51cd365790..bf930da9b3aff1e320ba4946a440388e936aa988 100755 (executable)
@@ -24,7 +24,7 @@ then
        g++ -fPIC -D_GNU_SOURCE -c -rdynamic -pthread -I../.. -I$PYTHON_INCLUDE mlt_wrap.cxx || exit $?
 
        # Create the module
-       g++ -shared mlt_wrap.o -L../../mlt++ -lmlt++ -L../../framework -lmlt $(python-config --libs) -o _mlt.so || exit $?
+       g++ -shared mlt_wrap.o -L../../mlt++ -lmlt++ -L../../framework -lmlt $(python-config --ldflags) -o _mlt.so || exit $?
 else
        echo Python not installed.
        exit 1