Package: libinih / 55-1

0008-Set-version.patch Patch series | download
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
29
30
31
32
From d29f429949b4398ec621b4781548232353533d91 Mon Sep 17 00:00:00 2001
From: yangfl <yangfl@users.noreply.github.com>
Date: Wed, 15 Jun 2022 14:19:20 +0800
Subject: [PATCH 8/8] Set version

---
 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index 86c7503..0885f99 100644
--- a/meson.build
+++ b/meson.build
@@ -77,6 +77,7 @@ lib_inih = library('inih',
     c_args : [arg_static, extra_args],
     install : distro_install,
     soversion : '1',
+    version : meson.project_version(),
     gnu_symbol_visibility: 'hidden'
 )
 
@@ -108,6 +109,7 @@ if get_option('with_INIReader')
         dependencies : inih_dep,
         install : distro_install,
         soversion : '0',
+        version : meson.project_version(),
         gnu_symbol_visibility: 'hidden'
     )
 
-- 
2.35.1