build: Ensure gi-visibility.h is built before libgirepository_dep is used

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2023-12-14 03:31:56 +00:00 committed by Emmanuele Bassi
parent fa37ab6d06
commit 989f87d26a

View File

@ -197,6 +197,7 @@ libgirepository = shared_library('girepository-2.0',
libgirepository_dep = declare_dependency(
link_with: libgirepository,
dependencies: [libglib_dep, libgobject_dep, libgio_dep, libgmodule_dep],
sources: [gi_visibility_h],
include_directories: [girepoinc],
)