diff options
Diffstat (limited to 'src/libcmd/meson.build')
-rw-r--r-- | src/libcmd/meson.build | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libcmd/meson.build b/src/libcmd/meson.build index e033bb1cd..c3782723b 100644 --- a/src/libcmd/meson.build +++ b/src/libcmd/meson.build @@ -56,3 +56,17 @@ liblixcmd = declare_dependency( include_directories : '.', link_with : libcmd, ) + +# FIXME: not using the pkg-config module because it creates way too many deps +# while meson migration is in progress, and we want to not include boost here +configure_file( + input : 'nix-cmd.pc.in', + output : 'nix-cmd.pc', + install_dir : libdir / 'pkgconfig', + configuration : { + 'prefix' : prefix, + 'libdir' : libdir, + 'includedir' : includedir, + 'PACKAGE_VERSION' : meson.project_version(), + }, +) |