From: Dan Dennedy Date: Wed, 12 Jan 2011 03:08:08 +0000 (-0800) Subject: Fix underlinking python binding (3082761). X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d43f0157761584d8ec0143e2afdb50c4ad86b393;p=mlt Fix underlinking python binding (3082761). Link the python binding library to MLT and Python needed on some systems like OpenSUSE. Patch by Cristian Morales Vega --- diff --git a/src/swig/python/build b/src/swig/python/build index 0e87d7f0..19189c6e 100755 --- a/src/swig/python/build +++ b/src/swig/python/build @@ -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