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.
ptsname_r
x86_64-apple-darwin
1 parent 77142ea commit 5a54bcbCopy full SHA for 5a54bcb
cpython-unix/build-cpython.sh
@@ -444,6 +444,12 @@ if [ "${PYBUILD_PLATFORM}" = "macos" ]; then
444
export MACOSX_DEPLOYMENT_TARGET="${APPLE_MIN_DEPLOYMENT_TARGET}"
445
fi
446
447
+# ptsrname_r is only available in SDK 13.4+
448
+if [ "${PYBUILD_PLATFORM}" = "macos" ]; then
449
+ echo "Disabling ptsname_r due to macOS SDK 13.4+ requirement."
450
+ CONFIGURE_FLAGS="${CONFIGURE_FLAGS} ac_cv_func_ptsname_r=no"
451
+fi
452
+
453
# We use ndbm on macOS and BerkeleyDB elsewhere.
454
if [ "${PYBUILD_PLATFORM}" = "macos" ]; then
455
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --with-dbmliborder=ndbm"
0 commit comments