Skip to content

Commit

Permalink
Fix version in pkg_config.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Oct 23, 2017
1 parent 48078c8 commit d4f0344
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kiwix.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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@
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -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'])

Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit d4f0344

Please sign in to comment.