diff options
Diffstat (limited to 'lang/python/python3/patches/025-choose-python-config-version.patch')
| -rw-r--r-- | lang/python/python3/patches/025-choose-python-config-version.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python/python3/patches/025-choose-python-config-version.patch b/lang/python/python3/patches/025-choose-python-config-version.patch new file mode 100644 index 000000000..562fd2e46 --- /dev/null +++ b/lang/python/python3/patches/025-choose-python-config-version.patch @@ -0,0 +1,11 @@ +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1586,7 +1586,7 @@ python-config: $(srcdir)/Misc/python-con + @ # On Darwin, always use the python version of the script, the shell + @ # version doesn't use the compiler customizations that are provided + @ # in python (_osx_support.py). +- @if test `uname -s` = Darwin; then \ ++ @if test "$(USE_PYTHON_CONFIG_PY)" = 1; then \ + cp python-config.py python-config; \ + fi + |
