X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fswig%2Fruby%2Fbuild;h=bc2dda7125e6d8f1ef43902cd0ceaf56e13f061a;hb=f5a43889f0ea29962f2d32b5dab0fcd25bebb945;hp=6c61375463a37abfaa885553e361ff873ddc22ab;hpb=ccdf1f8b1a0a81a30058240818e0e6e221c84bb6;p=melted diff --git a/mlt++/swig/ruby/build b/mlt++/swig/ruby/build index 6c61375..bc2dda7 100755 --- a/mlt++/swig/ruby/build +++ b/mlt++/swig/ruby/build @@ -1,8 +1,8 @@ -#!/bin/env ruby +#!/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 `pkg-config mlt-framework --cflags` mltpp.i" ) +$CFLAGS += " -I../../src `pkg-config mlt-framework --cflags`" +$LDFLAGS += " -L../../src -lmlt++" create_makefile('mltpp') system( 'make' )