From: LLVM Packaging Team Date: Wed, 7 Aug 2019 13:11:36 +0000 (+0100) Subject: lldb-soname X-Git-Tag: archive/raspbian/1%8.0.1-3+rpi1~2^2~72 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=76ff4fc20d8d554afa3ef92ceaf99682ba8b3b7f;p=llvm-toolchain-8.git lldb-soname Gbp-Pq: Name lldb-soname.diff --- diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt index e4ec64e53..7a24bbb12 100644 --- a/lldb/source/API/CMakeLists.txt +++ b/lldb/source/API/CMakeLists.txt @@ -9,7 +9,12 @@ if(NOT LLDB_DISABLE_PYTHON) set(lldb_python_wrapper ${lldb_scripts_dir}/LLDBWrapPython.cpp) 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 @@ -120,7 +125,7 @@ endif() set_target_properties(liblldb PROPERTIES - VERSION ${LLDB_VERSION} + VERSION 1 ) if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") @@ -144,11 +149,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_BUILD_FRAMEWORK)