X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fswig%2Fpython%2Fbuild;fp=mlt%2B%2B%2Fswig%2Fpython%2Fbuild;h=17ec48e5cac1c8c525c1edef2fbc763eda6f17a7;hb=c4e44c268c52474da539bbf52a0b3c0cca8827a3;hp=01660a6da5b043425d7e2d5efd3d4bcfa9353c07;hpb=6304b71fff4c066401782c968163c3455c395970;p=melted diff --git a/mlt++/swig/python/build b/mlt++/swig/python/build index 01660a6..17ec48e 100755 --- a/mlt++/swig/python/build +++ b/mlt++/swig/python/build @@ -12,13 +12,13 @@ then ln -sf ../mltpp.i . # Invoke swig - swig -c++ -I/usr/local/include/mlt++ `mlt-config --cflags` -python mltpp.i || exit $? + 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 $? # Create the module - ld -shared mltpp_wrap.o -lmlt++ -o _mltpp.so || exit $? + ld -shared mltpp_wrap.o -L../../src -lmlt++ -o _mltpp.so || exit $? else echo Python not installed. exit 1