X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fswig%2Fpython%2Fbuild;h=63423ad9e1db37d53fd59c90a5320c9c0f612091;hb=49c225547eeed95a6464aed93c9d3f33c4a299db;hp=7c7ff2315b4b7c4f0fe75d32ca5c689c5a9b0eb4;hpb=437e1fc59d8b0dddb9a0faf1e47d611f33a5f4e6;p=melted diff --git a/src/swig/python/build b/src/swig/python/build index 7c7ff23..63423ad 100755 --- a/src/swig/python/build +++ b/src/swig/python/build @@ -9,16 +9,16 @@ then [ ! -d "$PYTHON_INCLUDE" ] && echo python development missing && exit 1 - ln -sf ../mltpp.i . + ln -sf ../melted.i # Invoke swig - swig -c++ -I../../src `pkg-config mlt-framework --cflags` -python mltpp.i || exit $? + swig -c++ -I../../melted++ `pkg-config mlt++ --cflags` -python melted.i || exit $? # Compile the wrapper - g++ -fPIC -D_GNU_SOURCE -c -rdynamic -pthread `pkg-config mlt-framework --cflags` -I$PYTHON_INCLUDE mltpp_wrap.cxx || exit $? + g++ -fPIC -D_GNU_SOURCE -c -rdynamic -pthread -I../../melted++ `pkg-config mlt++ --cflags` -I$PYTHON_INCLUDE melted_wrap.cxx || exit $? # Create the module - gcc -shared mltpp_wrap.o -L../../src -lmlt++ -o _mltpp.so || exit $? + gcc -shared melted_wrap.o -L../../melted++ -lmelted++ -o _melted.so || exit $? else echo Python not installed. exit 1