Config changes
[melted] / mlt++ / swig / ruby / build
index feee585..46f9cc1 100755 (executable)
@@ -1,8 +1,8 @@
 #!/usr/bin/env ruby
 require 'mkmf'
 system( "ln -sf ../mltpp.i mltpp.i" )
-system( "swig -c++ -ruby -I/usr/local/include/mlt++ `mlt-config --cflags` mltpp.i" )
-$CFLAGS += " -I/usr/local/include/mlt++ `mlt-config --cflags`"
-$LDFLAGS += " -lmlt++"
+system( "swig -c++ -ruby -I../../src `mlt-config --cflags` mltpp.i" )
+$CFLAGS += " -I../../src `mlt-config --cflags`"
+$LDFLAGS += " -L../../src -lmlt++"
 create_makefile('mltpp')
 system( 'make' )