Generation of libkiwix.pc via meson's pkgconfig module

Generation of kiwix.pc using the previous approach still stays in place.
This commit is contained in:
Veloman Yunkan 2024-09-13 18:20:59 +04:00
parent 327fec1877
commit c24e04c8da

View File

@ -89,3 +89,10 @@ configure_file(output : 'kiwix.pc',
install_dir: get_option('libdir')+'/pkgconfig'
)
pkg_mod = import('pkgconfig')
pkg_mod.generate(libraries : [libkiwix] + extra_libs,
version : meson.project_version(),
name : 'libkiwix',
filebase : 'libkiwix',
description : 'A library that contains useful primitives that Kiwix readers have in common',
extra_cflags: extra_cflags)