mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-13 16:14:48 +00:00
38 lines
853 B
Diff
38 lines
853 B
Diff
--- a/lldb/source/API/CMakeLists.txt
|
|
+++ b/lldb/source/API/CMakeLists.txt
|
|
@@ -6,7 +6,12 @@
|
|
# for liblldb to link against
|
|
include(${LLDB_PROJECT_ROOT}/cmake/LLDBDependencies.cmake)
|
|
|
|
-add_lldb_library(liblldb SHARED
|
|
+set(output_name lldb)
|
|
+if (CMAKE_SYSTEM_NAME MATCHES "Windows")
|
|
+ set(output_name liblldb)
|
|
+endif()
|
|
+
|
|
+add_lldb_library(liblldb SHARED OUTPUT_NAME ${output_name} SONAME
|
|
SBAddress.cpp
|
|
SBAttachInfo.cpp
|
|
SBBlock.cpp
|
|
@@ -78,7 +83,7 @@
|
|
|
|
set_target_properties(liblldb
|
|
PROPERTIES
|
|
- VERSION ${LLDB_VERSION}
|
|
+ VERSION 1
|
|
)
|
|
|
|
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
|
|
@@ -105,11 +110,6 @@
|
|
if (MSVC AND NOT LLDB_DISABLE_PYTHON)
|
|
target_link_libraries(liblldb PRIVATE ${PYTHON_LIBRARY})
|
|
endif()
|
|
-else()
|
|
- set_target_properties(liblldb
|
|
- PROPERTIES
|
|
- OUTPUT_NAME lldb
|
|
- )
|
|
endif()
|
|
|
|
if (LLDB_WRAP_PYTHON)
|