mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-18 14:48:53 +02:00
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.
This commit is contained in:
@@ -12,8 +12,8 @@ gversionmacros_h = custom_target(
|
|||||||
output: 'gversionmacros.h',
|
output: 'gversionmacros.h',
|
||||||
command: [gen_visibility_macros, meson.project_version(), 'versions-macros', '@INPUT@', '@OUTPUT@'],
|
command: [gen_visibility_macros, meson.project_version(), 'versions-macros', '@INPUT@', '@OUTPUT@'],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: glib_includedir,
|
install_dir: glib_sub_includedir,
|
||||||
install_tag : 'devel',
|
install_tag: 'devel',
|
||||||
)
|
)
|
||||||
|
|
||||||
gvisibility_h = custom_target(
|
gvisibility_h = custom_target(
|
||||||
@@ -21,6 +21,7 @@ gvisibility_h = custom_target(
|
|||||||
command: [gen_visibility_macros, meson.project_version(), 'visibility-macros', 'GLIB', '@OUTPUT@'],
|
command: [gen_visibility_macros, meson.project_version(), 'visibility-macros', 'GLIB', '@OUTPUT@'],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: glib_sub_includedir,
|
install_dir: glib_sub_includedir,
|
||||||
|
install_tag: 'devel',
|
||||||
)
|
)
|
||||||
|
|
||||||
glib_built_headers = [gversionmacros_h, gvisibility_h]
|
glib_built_headers = [gversionmacros_h, gvisibility_h]
|
||||||
|
Reference in New Issue
Block a user