summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Nakos <xnakos@gmail.com>2015-06-16 18:55:31 (GMT)
committerHarry Nakos <xnakos@gmail.com>2015-06-16 18:55:31 (GMT)
commitb3ef8e367f7f9dbcbe2e303a1fb9005ae2e0d488 (patch)
tree3d7556f23f67b75a7797d86b3f7eb3bde36f68be
parenta0454b44bee69adb836d5b772ecabee2fc3f6504 (diff)
downloadmxe-b3ef8e367f7f9dbcbe2e303a1fb9005ae2e0d488.zip
mxe-b3ef8e367f7f9dbcbe2e303a1fb9005ae2e0d488.tar.gz
mxe-b3ef8e367f7f9dbcbe2e303a1fb9005ae2e0d488.tar.bz2
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.
-rw-r--r--src/jack-1-link-to-libsndfile-deps.patch28
1 files changed, 28 insertions, 0 deletions
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']: