From b3ef8e367f7f9dbcbe2e303a1fb9005ae2e0d488 Mon Sep 17 00:00:00 2001 From: Harry Nakos Date: Tue, 16 Jun 2015 21:55:31 +0300 Subject: Patch wscript to link to FLAC, vorbis, vorbisenc, and ogg libraries, which libsndfile is dependent on, since libsndfile will most probably have not been built statically linked to those libraries. --- src/jack-1-link-to-libsndfile-deps.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/jack-1-link-to-libsndfile-deps.patch diff --git a/src/jack-1-link-to-libsndfile-deps.patch b/src/jack-1-link-to-libsndfile-deps.patch new file mode 100644 index 0000000..5986ebb --- /dev/null +++ b/src/jack-1-link-to-libsndfile-deps.patch @@ -0,0 +1,28 @@ +This file is part of MXE. +See index.html for further information. + +This patch has been taken from: +???? + +--- jack-1.9.10/example-clients/wscript.orig 2015-06-16 15:34:56.407346962 +0300 ++++ jack-1.9.10/example-clients/wscript 2015-06-16 21:15:40.923117183 +0300 +@@ -41,6 +41,10 @@ + + if conf.is_defined('HAVE_SNDFILE'): + conf.env['LIB_SNDFILE'] = ['sndfile'] ++ conf.env['LIB_FLAC'] = ['FLAC'] ++ conf.env['LIB_VORBIS'] = ['vorbis'] ++ conf.env['LIB_VORBISENC'] = ['vorbisenc'] ++ conf.env['LIB_OGG'] = ['ogg'] + + conf.check_cfg(package='celt', atleast_version='0.5.0', args='--cflags --libs', mandatory=False) + +@@ -124,7 +128,7 @@ + if bld.env['IS_SUN']: + prog.use += ['RT', 'SNDFILE'] + if bld.env['IS_WINDOWS']: +- prog.uselib = ['SNDFILE'] ++ prog.uselib = ['SNDFILE', 'FLAC', 'VORBIS', 'VORBISENC', 'OGG'] + prog.target = 'jack_rec' + + if bld.env['IS_LINUX'] or bld.env['IS_MACOSX']: -- cgit v0.12