+ Cleaned up swig build so it doesn't require an mlt++ install first
[melted] / mlt++ / swig / python / build
index 01660a6..17ec48e 100755 (executable)
@@ -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