diff options
| author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2017-06-23 00:31:58 +0200 |
|---|---|---|
| committer | Gogs <gogs@fake.local> | 2017-06-23 00:31:58 +0200 |
| commit | 9072503b2c2f486979e08c86ce37f4a37508a931 (patch) | |
| tree | 2154de01b6781f414fa225f3294e0a521d45f6fc /package/python3/patches | |
| parent | f352d0cffd9f88bbafdd768e64d3754ea5c27296 (diff) | |
| parent | c2721d89883911785617d11b014d71b6ab50c540 (diff) | |
Merge branch 'master' of ableton-dir/openadk into master
Diffstat (limited to 'package/python3/patches')
| -rw-r--r-- | package/python3/patches/patch-setup_py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/python3/patches/patch-setup_py b/package/python3/patches/patch-setup_py new file mode 100644 index 000000000..bb60fb9b4 --- /dev/null +++ b/package/python3/patches/patch-setup_py @@ -0,0 +1,11 @@ +--- Python-3.6.0.orig/setup.py 2016-12-23 03:21:22.000000000 +0100 ++++ Python-3.6.0/setup.py 2017-05-10 17:22:50.000000000 +0200 +@@ -532,7 +532,7 @@ class PyBuildExt(build_ext): + for directory in reversed(options.dirs): + add_dir_to_list(dir_list, directory) + +- if os.path.normpath(sys.base_prefix) != '/usr' \ ++ if not cross_compiling and os.path.normpath(sys.base_prefix) != '/usr' \ + and not sysconfig.get_config_var('PYTHONFRAMEWORK'): + # OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework + # (PYTHONFRAMEWORK is set) to avoid # linking problems when |
