mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-12 16:00:12 +00:00
44 lines
1.2 KiB
Diff
44 lines
1.2 KiB
Diff
---
|
|
lldb/source/API/CMakeLists.txt | 14 +++++++-------
|
|
1 file changed, 7 insertions(+), 7 deletions(-)
|
|
|
|
Index: llvm-toolchain-snapshot_5.0~svn294583/lldb/source/API/CMakeLists.txt
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_5.0~svn294583.orig/lldb/source/API/CMakeLists.txt
|
|
+++ llvm-toolchain-snapshot_5.0~svn294583/lldb/source/API/CMakeLists.txt
|
|
@@ -18,7 +18,12 @@ endif()
|
|
|
|
get_property(LLDB_ALL_PLUGINS GLOBAL PROPERTY LLDB_PLUGINS)
|
|
|
|
-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
|
|
@@ -116,7 +121,7 @@ target_link_libraries(liblldb PRIVATE
|
|
|
|
set_target_properties(liblldb
|
|
PROPERTIES
|
|
- VERSION ${LLDB_VERSION}
|
|
+ VERSION 1
|
|
)
|
|
|
|
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
|
|
@@ -140,11 +145,6 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Windows"
|
|
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)
|