test/Makefile, swig/*/build: replace more mlt-config with pkg-config
[melted] / mlt++ / swig / python / build
index 5cd89d3..7b980c3 100755 (executable)
@@ -12,10 +12,10 @@ then
        ln -sf ../mltpp.i .
 
        # Invoke swig
-       swig -c++ -I../../src `mlt-config --cflags` -python mltpp.i || exit $?
+       swig -c++ -I../../src `pkg-config mlt-framework --cflags` -python mltpp.i || exit $?
 
        # Compile the wrapper
-       g++ -fPIC -D_GNU_SOURCE -c -rdynamic -pthread `mlt-config --cflags` -I$PYTHON_INCLUDE mltpp_wrap.cxx || exit $?
+       g++ -fPIC -D_GNU_SOURCE -c -rdynamic -pthread `pkg-config mlt-framework --cflags` -I$PYTHON_INCLUDE mltpp_wrap.cxx || exit $?
 
        # Create the module
        ld -shared mltpp_wrap.o -L../../src -lmlt++ -o _mltpp.so || exit $?