diff options
Diffstat (limited to 'media-libs/mlt')
-rw-r--r-- | media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch b/media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch new file mode 100644 index 00000000..e84e98c1 --- /dev/null +++ b/media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch @@ -0,0 +1,12 @@ +diff --git a/src/swig/ruby/build b/src/swig/ruby/build +index 2d0cc0d..1a8aee7 100755 +--- a/src/swig/ruby/build ++++ b/src/swig/ruby/build +@@ -8,6 +8,6 @@ system( "ln -sf ../mlt.i" ) + system( "swig -c++ -ruby -I../../mlt++ -I../.. mlt.i" ) + $CFLAGS = $CFLAGS.to_s + " -I../.. " + (ENV.has_key?('CXXFLAGS')? ENV['CXXFLAGS'] : '') + $CXXFLAGS = $CXXFLAGS.to_s + " -I../.. " + (ENV.has_key?('CXXFLAGS')? ENV['CXXFLAGS'] : '') +-$LDFLAGS = $LDFLAGS.to_s + " -L../../mlt++ -lmlt++" ++$LDFLAGS = $LDFLAGS.to_s + " -L../../mlt++ -lmlt++ -L../../framework -lmlt" + create_makefile('mlt') + system( "make V=1" ) |