Skip to content

Commit d013556

Browse files
authored
Update CMakeLists.txt
Fix the python executable. The python interpreter is `Python3_EXECUTABLE` after the merge. We were relying on the shebang to get the python which could pick up the wrong version.
1 parent 5f21eb4 commit d013556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/bindings/python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ add_custom_command(
55
DEPENDS ${SWIG_INTERFACES}
66
DEPENDS ${SWIG_HEADERS}
77
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/prepare_binding_python.py
8-
COMMAND ${PYTHON_EXECUTABLE} ${LLDB_SOURCE_DIR}/bindings/prepare_bindings.py
8+
COMMAND ${Python3_EXECUTABLE} ${LLDB_SOURCE_DIR}/bindings/prepare_bindings.py
99
${framework_arg}
1010
--srcRoot=${LLDB_SOURCE_DIR}
1111
--targetDir=${CMAKE_CURRENT_BINARY_DIR}

0 commit comments

Comments
 (0)