girepository: Ensure gi-visibility.h is built before girepository-internals

It gets transitively included.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>

Helps: #3155
This commit is contained in:
Philip Withnall 2023-10-25 18:41:05 +01:00
parent 216066d90c
commit dda97fea98

View File

@ -117,6 +117,7 @@ libgirepo_internals = static_library('girepository-internals',
'giroffsets.c',
'girparser.c',
'girwriter.c',
gi_visibility_h,
],
c_args: gir_c_args + custom_c_args,
include_directories : [configinc, girepoinc],