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

