forked from pool/libmirage
Jan Engelhardt
be317bb42d
OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=8
29 lines
883 B
Diff
29 lines
883 B
Diff
From 652f856be7cba289d340b16f78f26e202cf6aa8f Mon Sep 17 00:00:00 2001
|
|
From: Rok Mandeljc <rok.mandeljc@gmail.com>
|
|
Date: Sat, 22 Dec 2012 21:28:02 +0100
|
|
Subject: [PATCH] libMirage: CMake: fix SOVERSION, which should be set to
|
|
MIRAGE_LT_CURRENT, whereas VERSION needs to be set to
|
|
MIRAGE_SOVERSION, to produce correct symlinks
|
|
|
|
---
|
|
libmirage/CMakeLists.txt | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/libmirage/CMakeLists.txt b/libmirage/CMakeLists.txt
|
|
index 8a5e39b..ff72aab 100644
|
|
--- a/libmirage/CMakeLists.txt
|
|
+++ b/libmirage/CMakeLists.txt
|
|
@@ -112,7 +112,8 @@ set_target_properties (mirage PROPERTIES
|
|
COMPILE_DEFINITIONS "${mirage_DEFS}"
|
|
LINK_FLAGS ${mirage_LDFLAGS_STR}
|
|
LIBRARY_OUTPUT_NAME mirage
|
|
- SOVERSION ${MIRAGE_SOVERSION}
|
|
+ VERSION ${MIRAGE_SOVERSION}
|
|
+ SOVERSION ${MIRAGE_LT_CURRENT}
|
|
)
|
|
|
|
install (
|
|
--
|
|
1.7.10.4
|
|
|