diff options
Diffstat (limited to 'src/libmain')
-rw-r--r-- | src/libmain/meson.build | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libmain/meson.build b/src/libmain/meson.build index 54326c305..3f50b158d 100644 --- a/src/libmain/meson.build +++ b/src/libmain/meson.build @@ -31,3 +31,17 @@ liblixmain = declare_dependency( include_directories : include_directories('.'), link_with : libmain, ) + +# 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-main.pc.in', + output : 'nix-main.pc', + install_dir : libdir / 'pkgconfig', + configuration : { + 'prefix' : prefix, + 'libdir' : libdir, + 'includedir' : includedir, + 'PACKAGE_VERSION' : meson.project_version(), + }, +) |