We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81161a commit ce68189Copy full SHA for ce68189
cpython-unix/build-openssl.sh
@@ -23,7 +23,7 @@ if [ "${CC}" = "musl-clang" ]; then
23
EXTRA_FLAGS="${EXTRA_FLAGS} no-async -DOPENSSL_NO_ASYNC -D__STDC_NO_ATOMICS__=1 no-engine -DOPENSSL_NO_SECURE_MEMORY"
24
fi
25
26
-if [ "${TARGET_TRIPLE}" = "x86_64-apple-darwin18.7.0" ]; then
+if [ "${PYBUILD_PLATFORM}" = "macos" ]; then
27
OPENSSL_TARGET=darwin64-x86_64-cc
28
else
29
OPENSSL_TARGET=linux-x86_64
cpython-unix/build.py
@@ -45,6 +45,7 @@
45
46
47
def add_target_env(env, platform, build_env):
48
+ env["PYBUILD_PLATFORM"] = platform
49
env["NUM_CPUS"] = "%d" % multiprocessing.cpu_count()
50
env["TOOLS_PATH"] = build_env.tools_path
51
0 commit comments