From c24e04c8dadb43ff8aeea76d26421028440611d3 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Fri, 13 Sep 2024 18:20:59 +0400 Subject: [PATCH] Generation of libkiwix.pc via meson's pkgconfig module Generation of kiwix.pc using the previous approach still stays in place. --- meson.build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meson.build b/meson.build index 22985870..410532d2 100644 --- a/meson.build +++ b/meson.build @@ -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)