mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #93 from kiwix/pkg_config_version
Fix version in pkg_config.
This commit is contained in:
commit
f0bcb1960b
|
@ -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@
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue