Debian Codegraph @

debian/patches/no-soname.diff

raw symbols SCIP
1 Description: remove SONAME
2 libsocket_wrapper is a preloadable library.
3 We do not support directly linking to it, so it doesn't need the SONAME.
4 Let's remove it.
5 Author: Laszlo Boszormenyi (GCS) <[email protected]>
6 Last-Update: 2023-01-21
7
8 ---
9
10 --- a/CMakeLists.txt
11 +++ b/CMakeLists.txt
12 @@ -16,19 +16,6 @@ project(resolv_wrapper VERSION 1.1.8 LAN
13 # global needed variables
14 set(APPLICATION_NAME ${PROJECT_NAME})
15
16 -# SOVERSION scheme: MAJOR.MINOR.PATCH
17 -# If there was an incompatible interface change:
18 -# Increment MAJOR. Set MINOR and PATCH to 0
19 -# If there was a compatible interface change:
20 -# Increment MINOR. Set PATCH to 0
21 -# If the source code was changed, but there were no interface changes:
22 -# Increment PATCH.
23 -set(LIBRARY_VERSION_MAJOR 0)
24 -set(LIBRARY_VERSION_MINOR 0)
25 -set(LIBRARY_VERSION_PATCH 8)
26 -set(LIBRARY_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}")
27 -set(LIBRARY_SOVERSION ${LIBRARY_VERSION_MAJOR})
28 -
29 # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
30 set(CMAKE_MODULE_PATH
31 ${CMAKE_SOURCE_DIR}/cmake/Modules
32 --- a/src/CMakeLists.txt
33 +++ b/src/CMakeLists.txt
34 @@ -13,10 +13,7 @@ target_include_directories(resolv_wrappe
35 set_target_properties(
36 resolv_wrapper
37 PROPERTIES
38 - VERSION
39 - ${LIBRARY_VERSION}
40 - SOVERSION
41 - ${LIBRARY_SOVERSION}
42 + NO_SONAME ON
43 )
44
45 install(TARGETS resolv_wrapper