gnulib: Add glib built headers to the gnulib_lib required sources

g-gnulib.h includes glib.h that requires some headers to be generated,
so ensure that this is always the case.

See: https://gitlab.gnome.org/GNOME/glib/-/jobs/2349167
This commit is contained in:
Marco Trevisan (Treviño) 2022-10-21 15:25:33 +02:00
parent f67743e9a2
commit 681bb3cb21

View File

@ -362,6 +362,12 @@ endif
gnulib_sources += other_needed_math_sources
# g-gnulib.h includes glib.h that requires some headers to be generated
gnulib_sources += [
'g-gnulib.h',
glib_built_headers,
]
gnulib_lib = static_library('gnulib', gnulib_sources,
dependencies : [libm],
include_directories : [configinc, glibinc, include_directories ('.')],