From 06d803c47859284fecb35051dc11da4e3236e6d1 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 15 Oct 2019 10:33:28 +0200 Subject: [PATCH] meson: Point to the base directory of header files in pkgconfig Fixes commit 22d11f8b22c095db096e24eabe45e7e0e02fe034 --- libsecret/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libsecret/meson.build b/libsecret/meson.build index ea13628..09041ce 100644 --- a/libsecret/meson.build +++ b/libsecret/meson.build @@ -1,4 +1,5 @@ -installed_headers_subdir = 'libsecret-@0@'.format(api_version_major) / 'libsecret' +installed_headers_subdir_base = 'libsecret-@0@'.format(api_version_major) +installed_headers_subdir = installed_headers_subdir_base / 'libsecret' libsecret_sources = [ 'secret-attributes.c', @@ -166,7 +167,7 @@ libsecret_pc_variables = [ pkg.generate(libsecret, description: 'GObject bindings for Secret Service API', name: 'libsecret-@0@'.format(api_version_major), - subdirs: installed_headers_subdir, + subdirs: installed_headers_subdir_base, variables: libsecret_pc_variables, requires: glib_deps)