ASR_BASE
Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/external/subpack/lang/python/python3/patches/025-choose-python-config-version.patch b/external/subpack/lang/python/python3/patches/025-choose-python-config-version.patch
new file mode 100644
index 0000000..3c74874
--- /dev/null
+++ b/external/subpack/lang/python/python3/patches/025-choose-python-config-version.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -2178,7 +2178,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
+