test/Makefile, swig/*/build: replace more mlt-config with pkg-config
[melted] / mlt++ / swig / tcl / build
index 548d3db..cb7cd63 100755 (executable)
@@ -7,10 +7,10 @@ then
        ln -sf ../mltpp.i .
 
        # Invoke swig
-       swig -c++ -I../../src `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../../src `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 -L../../src -lmlt++ -o mltpp.so || exit 1