Merge pull request #93 from kiwix/pkg_config_version

Fix version in pkg_config.
This commit is contained in:
Matthieu Gautier 2017-10-23 18:14:56 +02:00 committed by GitHub
commit f0bcb1960b
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ includedir=${prefix}/include
Name: libkiwix
Description: A library that contains a lot of things used by used by other kiwix programs
Version: 1.0
Version: @version@
Requires: @requires@
Libs: -L${libdir} -lkiwix @extra_libs@
Cflags: -I${includedir}/ @extra_cflags@

View File

@ -1,5 +1,5 @@
project('kiwixlib', 'cpp',
version : '1.0.0',
version : '1.0.1',
license : 'GPL',
default_options : ['c_std=c11', 'cpp_std=c++11'])
@ -101,6 +101,7 @@ pkg_conf.set('prefix', get_option('prefix'))
pkg_conf.set('requires', ' '.join(pkg_requires))
pkg_conf.set('extra_libs', ' '.join(extra_libs))
pkg_conf.set('extra_cflags', extra_cflags)
pkg_conf.set('version', meson.project_version())
configure_file(output : 'kiwix.pc',
configuration : pkg_conf,
input : 'kiwix.pc.in',