diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-16 10:59:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-16 10:59:55 +0100 |
commit | 2932e7a1e56f7be1a2ef7c7001789b489beb7619 (patch) | |
tree | 8d3c4c98be88f049ac4ac4cc52fb617eb8e74ed4 /media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch | |
parent | a6fcc2cda9da5b671163acb2de0044ab80c3da0e (diff) |
media-libs/mlt : add missing patch
Diffstat (limited to 'media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch')
-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" ) |