Make swig bindings a superset of mlt.
[melted] / src / swig / php / build
old mode 100644 (file)
new mode 100755 (executable)
index a06ed48..95989aa
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-ln -s ../mltpp.i
-swig -c++ -I../../src `pkg-config --cflags mlt-framework` -php5 -noproxy mltpp.i
-g++ -fPIC -DPIC -D_GNU_SOURCE -c -rdynamic -pthread `pkg-config --cflags mlt-framework` `php-config --includes` mltpp_wrap.cpp
-
+ln -s ../mlt.i
+swig -c++ -I../../melted++ `pkg-config --cflags mlt++` -php5 -noproxy mlt.i
+g++ -fPIC -DPIC -D_GNU_SOURCE -c -rdynamic -pthread -I../../melted++ `pkg-config --cflags mlt++` `php-config --includes` mlt_wrap.cpp
+gcc -shared mlt_wrap.o -L../../melted++ -lmelted++ -o mlt.so || exit $?