blob: a839e65323c498806d2389c7ca71f1fc59d86c75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 24aae504e2833e46f3808f38cea60c5e3178e175 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Tue, 25 Jun 2019 22:31:39 +0200
Subject: [PATCH] meson: Fix library version
Setting soversion means the soname ends in '22.4.0' instead of the
expected '22'. So we want the *soversion* to be '22' and the *version*
to be '22.4.0'.
We only need to set the version as meson can derive the soversion from
it.
---
gdata/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdata/meson.build b/gdata/meson.build
index 87cb702a..d221800c 100644
--- a/gdata/meson.build
+++ b/gdata/meson.build
@@ -142,7 +142,7 @@ libgdata_lib = shared_library(
link_args: ldflags,
link_depends: symbol_map,
install: true,
- soversion: gdata_soversion,
+ version: gdata_soversion,
gnu_symbol_visibility: 'default',
)
|