mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-12 11:06:17 +00:00

0044-soname.diff,23-strlcpy_strlcat_warning_removed.diff, 26-set-correct-float-abi.diff,atomic_library_[12].diff, fix-clang-path-and-build.diff,fix-lldb-server-build,lldb-libname.diff, lldb-soname.diff,mips-fpxx-enable.diff,removeduplicatedeclaration.diff}: Refreshed. * debian/patches/{silent-gold-utils,kfreebsd-support}.diff: Updated.
42 lines
1.1 KiB
Diff
42 lines
1.1 KiB
Diff
---
|
|
lldb/source/API/CMakeLists.txt | 14 +++++++-------
|
|
1 file changed, 7 insertions(+), 7 deletions(-)
|
|
|
|
--- a/lldb/source/API/CMakeLists.txt
|
|
+++ b/lldb/source/API/CMakeLists.txt
|
|
@@ -12,7 +12,12 @@ if (LLDB_BUILD_FRAMEWORK AND NOT APPLE)
|
|
message(FATAL_ERROR "LLDB.framework cannot be generated unless targeting Apple platforms.")
|
|
endif()
|
|
|
|
-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
|
|
@@ -95,7 +100,7 @@ target_link_libraries(liblldb PRIVATE
|
|
|
|
set_target_properties(liblldb
|
|
PROPERTIES
|
|
- VERSION ${LLDB_VERSION}
|
|
+ VERSION 1
|
|
)
|
|
|
|
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
|
|
@@ -119,11 +124,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)
|