4c7e494b8195f671f65dc2c8cceb8cfb2b5d3e28
[melted] / src / swig / php / build
1 #!/bin/sh
2
3 ln -s ../melted.i
4 swig -c++ -I../../melted++ `pkg-config --cflags mlt++` -php5 -noproxy melted.i
5 g++ -fPIC -DPIC -D_GNU_SOURCE -c -rdynamic -pthread -I../../melted++ `pkg-config --cflags mlt++` `php-config --includes` melted_wrap.cpp
6 gcc -shared melted_wrap.o -L../../melted++ -lmelted++ -o melted.so || exit $?