diff options
author | Waldemar Brodkorb <w.brodkorb@deubert.it> | 2016-02-02 07:02:24 +0100 |
---|---|---|
committer | Waldemar Brodkorb <w.brodkorb@deubert.it> | 2016-02-02 07:02:24 +0100 |
commit | 85ce1f0cd57ec7bd075430dc6418f1f1e09d14f3 (patch) | |
tree | 408101d91eba025f7d446f5da03efa5c2fec0c2c /package/jack2/patches | |
parent | 9a9be232f4486bfbb5ea4e45c6a9230f3d1a2544 (diff) |
jack2: fix cross-compile on Darwin
Diffstat (limited to 'package/jack2/patches')
-rw-r--r-- | package/jack2/patches/patch-wscript | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/jack2/patches/patch-wscript b/package/jack2/patches/patch-wscript new file mode 100644 index 000000000..0ea616b04 --- /dev/null +++ b/package/jack2/patches/patch-wscript @@ -0,0 +1,19 @@ +--- jack2-1.9.10.orig/wscript 2014-06-02 08:43:27.000000000 +0200 ++++ jack2-1.9.10/wscript 2016-02-02 06:58:57.000000000 +0100 +@@ -93,15 +93,7 @@ def configure(conf): + conf.load('compiler_cxx') + conf.load('compiler_cc') + if Options.options.dist_target == 'auto': +- platform = sys.platform +- conf.env['IS_MACOSX'] = platform == 'darwin' +- conf.env['IS_LINUX'] = platform == 'linux' or platform == 'linux2' or platform == 'linux3' or platform == 'posix' +- conf.env['IS_SUN'] = platform == 'sunos' +- # GNU/kFreeBSD and GNU/Hurd are treated as Linux +- if platform.startswith('gnu0') or platform.startswith('gnukfreebsd'): +- conf.env['IS_LINUX'] = True +- elif Options.options.dist_target == 'mingw': +- conf.env['IS_WINDOWS'] = True ++ conf.env['IS_LINUX'] = True + + if conf.env['IS_LINUX']: + Logs.pprint('CYAN', "Linux detected") |