From 0ea1d3fecc84f7fe95560f1b8b360794e164481a Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 26 Oct 2022 12:01:51 +0100 Subject: [PATCH] Install gversionmacros.h in the right place The gversionmacros.h header is referenced from glib/, so it needs to go into glib's include directory, not in the top-level alongside glib.h, glib-object.h, gmodule.h, and glib-unix.h. --- glib/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/glib/meson.build b/glib/meson.build index 85f9e1843..ac0911d7d 100644 --- a/glib/meson.build +++ b/glib/meson.build @@ -12,8 +12,8 @@ gversionmacros_h = custom_target( output: 'gversionmacros.h', command: [gen_visibility_macros, meson.project_version(), 'versions-macros', '@INPUT@', '@OUTPUT@'], install: true, - install_dir: glib_includedir, - install_tag : 'devel', + install_dir: glib_sub_includedir, + install_tag: 'devel', ) gvisibility_h = custom_target( @@ -21,6 +21,7 @@ gvisibility_h = custom_target( command: [gen_visibility_macros, meson.project_version(), 'visibility-macros', 'GLIB', '@OUTPUT@'], install: true, install_dir: glib_sub_includedir, + install_tag: 'devel', ) glib_built_headers = [gversionmacros_h, gvisibility_h]