Skip to content

Commit c19314f

Browse files
authored
[bazel] Port fa39b67 (#152191)
1 parent f355a57 commit c19314f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/bazel/llvm-project-overlay/lldb/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ expand_template(
115115
"#cmakedefine01 LLVM_ENABLE_CURL": "#define LLVM_ENABLE_CURL 0",
116116

117117
# TODO: python support
118+
# Note this substitution has to be defined before LLDB_ENABLE_PYTHON.
119+
# Otherwise it will get replaced to 0_LIMITED_API.
120+
"#cmakedefine01 LLDB_ENABLE_PYTHON_LIMITED_API": "#define LLDB_ENABLE_PYTHON_LIMITED_API 0",
118121
"#cmakedefine01 LLDB_ENABLE_PYTHON": "#define LLDB_ENABLE_PYTHON 0",
119122
# Only enabled by default on Windows
120123
"#cmakedefine01 LLDB_EMBED_PYTHON_HOME": "#define LLDB_EMBED_PYTHON_HOME 0",

0 commit comments

Comments
 (0)