File: no-soname.diff

package info (click to toggle)
uid-wrapper 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 544 kB
  • sloc: ansic: 5,785; sh: 21; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: remove SONAME
 libuid_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>, Jelmer Vernooij <jelmer@debian.org>
Forwarded: not-needed
Last-Update: 2014-06-01

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -15,10 +15,7 @@ target_link_libraries(uid_wrapper ${UIDW
 set_target_properties(
   uid_wrapper
     PROPERTIES
-      VERSION
-        ${LIBRARY_VERSION}
-      SOVERSION
-        ${LIBRARY_SOVERSION}
+      NO_SONAME ON
 )
 
 install(TARGETS uid_wrapper