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