forked from lix-project/lix
meson: install pkg-config files for libraries
Change-Id: I14b9d81d09f188eacfb9c68bcfb84751c18e3779
This commit is contained in:
parent
86b954a7af
commit
69bfd21e20
|
@ -56,3 +56,17 @@ liblixcmd = declare_dependency(
|
||||||
include_directories : '.',
|
include_directories : '.',
|
||||||
link_with : libcmd,
|
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(),
|
||||||
|
},
|
||||||
|
)
|
||||||
|
|
|
@ -152,3 +152,17 @@ liblixexpr = declare_dependency(
|
||||||
include_directories : include_directories('.'),
|
include_directories : include_directories('.'),
|
||||||
link_with : libexpr,
|
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(),
|
||||||
|
},
|
||||||
|
)
|
||||||
|
|
|
@ -31,3 +31,17 @@ liblixmain = declare_dependency(
|
||||||
include_directories : include_directories('.'),
|
include_directories : include_directories('.'),
|
||||||
link_with : libmain,
|
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(),
|
||||||
|
},
|
||||||
|
)
|
||||||
|
|
|
@ -186,3 +186,17 @@ liblixstore = declare_dependency(
|
||||||
include_directories : include_directories('.'),
|
include_directories : include_directories('.'),
|
||||||
link_with : libstore,
|
link_with : libstore,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# 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-store.pc.in',
|
||||||
|
output : 'nix-store.pc',
|
||||||
|
install_dir : libdir / 'pkgconfig',
|
||||||
|
configuration : {
|
||||||
|
'prefix' : prefix,
|
||||||
|
'libdir' : libdir,
|
||||||
|
'includedir' : includedir,
|
||||||
|
'PACKAGE_VERSION' : meson.project_version(),
|
||||||
|
},
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue