| 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 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 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 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
+ NO_SONAME ON |
| 43 |
) |
| 44 |
|
| 45 |
install(TARGETS resolv_wrapper |