Skip to content

Commit ad2873d

Browse files
authored
Merge pull request #35199 from apple/build-Use-Xcode-toolchain-Python-executables
[build] Use Xcode toolchain Python executables
2 parents 16cc262 + 8911385 commit ad2873d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/build-script-impl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,10 @@ function set_build_options_for_host() {
483483
-DPython2_EXECUTABLE="$(xcrun -f python2.7)"
484484
-DPython3_EXECUTABLE="$(xcrun -f python3)"
485485
)
486+
lldb_cmake_options+=(
487+
-DPython2_EXECUTABLE="$(xcrun -f python2.7)"
488+
-DPython3_EXECUTABLE="$(xcrun -f python3)"
489+
)
486490
case ${host} in
487491
macosx-x86_64)
488492
SWIFT_HOST_TRIPLE="x86_64-apple-macosx${DARWIN_DEPLOYMENT_VERSION_OSX}"

0 commit comments

Comments
 (0)