From e3a37893a8709aa3d6a571ecb5a3f690da0ef82d Mon Sep 17 00:00:00 2001 From: Jeremy Bicha Date: Tue, 22 Mar 2022 16:22:00 -0400 Subject: [PATCH] build: Install pkgconfig file to /usr/share/ Because the pkgconfig file is arch-independent, /usr/share/pkgconfig/ is a better location for it --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index ded56d9..71b2334 100644 --- a/meson.build +++ b/meson.build @@ -5,7 +5,7 @@ project('blueprint-compiler', subdir('docs') prefix = get_option('prefix') -libdir = join_paths(prefix, get_option('libdir')) +datadir = join_paths(prefix, get_option('datadir')) py = import('python').find_installation('python3') @@ -14,7 +14,7 @@ configure_file( output: 'blueprint-compiler.pc', configuration: { 'VERSION': meson.project_version() }, install: not meson.is_subproject(), - install_dir: join_paths(libdir, 'pkgconfig'), + install_dir: join_paths(datadir, 'pkgconfig'), ) install_data(