blob: 3c74874c91ed7f6285e84033430d8e3f38e6539c [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/Makefile.pre.in
2+++ b/Makefile.pre.in
3@@ -2178,7 +2178,7 @@ python-config: $(srcdir)/Misc/python-con
4 @ # On Darwin, always use the python version of the script, the shell
5 @ # version doesn't use the compiler customizations that are provided
6 @ # in python (_osx_support.py).
7- @if test `uname -s` = Darwin; then \
8+ @if test "$(USE_PYTHON_CONFIG_PY)" = 1; then \
9 cp python-config.py python-config; \
10 fi
11