Skip to content

Commit de62e89

Browse files
committed
test amazon linux 2
1 parent 033960d commit de62e89

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lldb/cmake/modules/LLDBConfig.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ if (LLDB_ENABLE_PYTHON)
211211
set(LLDB_PYTHON_HOME "${PYTHON_HOME}" CACHE STRING
212212
"Path to use as PYTHONHOME in lldb. If a relative path is specified, it will be resolved at runtime relative to liblldb directory.")
213213
endif()
214+
else()
215+
if(LLVM_DISTRIBUTION_COMPONENTS)
216+
list(REMOVE_ITEM LLVM_DISTRIBUTION_COMPONENTS lldb-python-scripts)
217+
set(LLVM_DISTRIBUTION_COMPONENTS ${LLVM_DISTRIBUTION_COMPONENTS} CACHE STRING "" FORCE)
218+
endif()
214219
endif()
215220

216221
if (LLVM_EXTERNAL_CLANG_SOURCE_DIR)

0 commit comments

Comments
 (0)