Skip to content

Commit 54dc823

Browse files
committed
[build] Use Xcode toolchain Python executables
1 parent f56a96a commit 54dc823

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)