]> git.sesse.net Git - mlt/commitdiff
Fix underlinking python binding (3082761).
authorDan Dennedy <dan@dennedy.org>
Wed, 12 Jan 2011 03:08:08 +0000 (19:08 -0800)
committerDan Dennedy <dan@dennedy.org>
Wed, 12 Jan 2011 03:08:08 +0000 (19:08 -0800)
Link the python binding library to MLT and Python needed on some systems
like OpenSUSE.

Patch by Cristian Morales Vega

src/swig/python/build

index 0e87d7f0333c83129c5e552e3b176d49a0b87418..19189c6eb934dfabf8c1efb37d7f4a51cd365790 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++ -o _mlt.so || exit $?
+       g++ -shared mlt_wrap.o -L../../mlt++ -lmlt++ -L../../framework -lmlt $(python-config --libs) -o _mlt.so || exit $?
 else
        echo Python not installed.
        exit 1