Skip to content

Commit 7c16c1e

Browse files
committed
LLDB: Generate and install Python.zip and shared library file (2)
Amends the Python regex matching on other platforms than MSVC Change-Id: I7a1f2027bc06f967c99dfee406adee9ec8cbcc0b Reviewed-by: Cristian Adam <[email protected]>
1 parent 989f79d commit 7c16c1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ if (LLDB_ENABLE_PYTHON)
8080
return()
8181
endif()
8282

83-
set(PythonRegex "^(.*)/(.*)/(python([0-9]+))${CMAKE_IMPORT_LIBRARY_SUFFIX}$")
83+
set(PythonRegex "^(.*)/(.*)/(python([0-9]+))\.[a-z]+$")
8484
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
85-
set(PythonRegex "^(.*)/(.*)/(python([0-9]+)_d)${CMAKE_IMPORT_LIBRARY_SUFFIX}$")
85+
set(PythonRegex "^(.*)/(.*)/(python([0-9]+)_d)\.[a-z]+$")
8686
endif()
8787

8888
foreach(lib IN LISTS Python3_LIBRARIES)

0 commit comments

Comments
 (0)