File: no-soname.diff

package info (click to toggle)
nss-wrapper 1.1.16-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 968 kB
  • sloc: ansic: 7,954; perl: 372; sh: 26; makefile: 10
file content (21 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: remove SONAME
 libnss_wrapper is a preloadable library.
 We do not support directly linking to it, so it doesn't need the SONAME.
 Let's remove it.
Author: Jakub Wilk <jwilk@debian.org>
Last-Update: 2014-06-01

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -22,10 +22,7 @@ target_link_libraries(nss_wrapper nss_utils ${NWRAP_REQUIRED_LIBRARIES} ${CMAKE_
 set_target_properties(
   nss_wrapper
     PROPERTIES
-      VERSION
-        ${LIBRARY_VERSION}
-      SOVERSION
-        ${LIBRARY_SOVERSION}
+      NO_SONAME ON
 )
 
 install(TARGETS nss_wrapper