From: LLVM Packaging Team Date: Sun, 16 Dec 2018 12:07:54 +0000 (+0000) Subject: lldb-soname X-Git-Tag: archive/raspbian/1%7.0.1-1+rpi1^2~67 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f8622731e91240d6150e199e810805f9ae4faa3e;p=llvm-toolchain-7.git lldb-soname Gbp-Pq: Name lldb-soname.diff --- diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt index be9d4115c..6e057ce21 100644 --- a/lldb/source/API/CMakeLists.txt +++ b/lldb/source/API/CMakeLists.txt @@ -4,7 +4,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 @@ -112,7 +117,7 @@ endif () set_target_properties(liblldb PROPERTIES - VERSION ${LLDB_VERSION} + VERSION 1 ) if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") @@ -136,11 +141,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)