[gnome-bluetooth/wip/hadess/fix-soname] build: Fix soname creation to match libtool versioning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/fix-soname] build: Fix soname creation to match libtool versioning
- Date: Tue, 23 Mar 2021 12:23:47 +0000 (UTC)
commit 929e9a25cec4f364eef698c3ae569a9427e3af2d
Author: Bastien Nocera <hadess hadess net>
Date: Tue Mar 23 12:55:31 2021 +0100
build: Fix soname creation to match libtool versioning
The documentation we brought forward from autotools/libtool didn't
actually match sonames, but used libtool rules. Replicate the libtool
rules to fix the unwanted soname bump.
Closes: #82
meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index e59e3a35..6df6396b 100644
--- a/meson.build
+++ b/meson.build
@@ -40,7 +40,8 @@ current = 14
revision = 0
age = 1
-libversion = '@0@.@1@.@2@'.format(current, age, revision)
+lt_soversion = current - age
+libversion = '@0@.@1@.@2@'.format(lt_soversion, age, revision)
gnome = import('gnome')
i18n = import('i18n')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]