+ Cleaned up swig build so it doesn't require an mlt++ install first
[melted] / mlt++ / swig / perl / Makefile.PL
index 1519403..464f4eb 100644 (file)
@@ -1,11 +1,11 @@
 #!/bin/env perl
 use ExtUtils::MakeMaker;
 system( "ln -sf ../mltpp.i ." );
-system( "swig -c++ -I/usr/local/include/mlt++ `mlt-config --cflags` -perl5 mltpp.i" ); 
+system( "swig -c++ -I../../src `mlt-config --cflags` -perl5 mltpp.i" ); 
 WriteMakefile(
        'NAME'    => 'mltpp',
-       'CC'      => 'g++ `mlt-config --cflags` -I/usr/local/include/mlt++',
-       'LIBS'    => ['-lmlt++'],
+       'CC'      => 'g++ `mlt-config --cflags` -I../../src',
+       'LIBS'    => ['-L../../src -lmlt++'],
        'OBJECT'  => 'mltpp_wrap.o'
 );