From: LLVM Packaging Team Date: Mon, 16 Oct 2023 13:14:10 +0000 (+0000) Subject: lldb-soname X-Git-Tag: archive/raspbian/1%16.0.6-15_deb12u1+rpi1^2~73 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7623ee7ac4e790b501602c9f6b0b59ee9c7449b8;p=llvm-toolchain-16.git lldb-soname Gbp-Pq: Topic lldb Gbp-Pq: Name lldb-soname.diff --- diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt index 3e189f387f..b84c8d05d5 100644 --- a/lldb/source/API/CMakeLists.txt +++ b/lldb/source/API/CMakeLists.txt @@ -15,7 +15,12 @@ if(LLDB_ENABLE_LUA) set(lldb_lua_wrapper ${lua_bindings_dir}/LLDBWrapLua.cpp) endif() -add_lldb_library(liblldb SHARED ${option_framework} +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 @@ -159,7 +164,7 @@ endif() set_target_properties(liblldb PROPERTIES - VERSION ${LLDB_VERSION} + VERSION 1 ) target_compile_definitions(liblldb PRIVATE LLDB_IN_LIBLLDB) @@ -179,12 +184,12 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") set_target_properties(liblldb_exports PROPERTIES FOLDER "lldb misc") endif() -if (NOT MSVC) - set_target_properties(liblldb - PROPERTIES - OUTPUT_NAME lldb - ) -endif() +#if (NOT MSVC) +# set_target_properties(liblldb +# PROPERTIES +# OUTPUT_NAME lldb +# ) +#endif() # The Clang expression parser in LLDB requires the Clang resource directory to function. if (TARGET clang-resource-headers)