X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fswig%2Ftcl%2Fbuild;h=4b2b32ba07a528a6a743a49414b3b8d950753939;hb=97bdd568301d386c96de4390a864ff952a808595;hp=48d06c6f01320de7ee9b5fe88f49230e767303cb;hpb=ccdf1f8b1a0a81a30058240818e0e6e221c84bb6;p=melted diff --git a/mlt++/swig/tcl/build b/mlt++/swig/tcl/build index 48d06c6..4b2b32b 100755 --- a/mlt++/swig/tcl/build +++ b/mlt++/swig/tcl/build @@ -7,13 +7,13 @@ then ln -sf ../mltpp.i . # Invoke swig - swig -c++ -I/usr/local/include/mlt++ `mlt-config --cflags` -tcl mltpp.i || exit 1 + swig -c++ -I../../src `pkg-config mlt-framework --cflags` -tcl mltpp.i || exit 1 # Compile the wrapper - g++ -D_GNU_SOURCE -c -rdynamic -pthread -I/usr/local/include/mlt++ `mlt-config --cflags` mltpp_wrap.cxx || exit 1 + g++ -D_GNU_SOURCE -c -rdynamic -pthread -I../../src `pkg-config mlt-framework --cflags` mltpp_wrap.cxx || exit 1 # Create the module - ld -shared mltpp_wrap.o -lmlt++ -o mltpp.so || exit 1 + gcc -shared mltpp_wrap.o -L../../src -lmlt++ -o mltpp.so || exit 1 else echo "Unable to locate tclsh." exit 1