Commit 947a2169 authored by maxice8's avatar maxice8 Committed by Adrien Plazas

meson: pass -DHANDY_COMPILATION to GIR compiler

Fixes cross compilation of GIR in Void Linux.
parent ff51f41d
Pipeline #4253 passed with stage
in 4 minutes and 7 seconds
......@@ -186,6 +186,12 @@ libhandy_dep = declare_dependency(
if introspection
libhandy_gir_extra_args = [
'--c-include=handy.h',
'--quiet',
'-DHANDY_COMPILATION',
]
libhandy_gir = gnome.generate_gir(libhandy,
sources: libhandy_generated_headers + libhandy_public_headers + libhandy_public_sources,
nsversion: apiversion,
......@@ -198,7 +204,7 @@ if introspection
install: true,
install_dir_gir: girdir,
install_dir_typelib: typelibdir,
extra_args: [ '--c-include=handy.h', '--quiet' ],
extra_args: libhandy_gir_extra_args,
)
if get_option('vapi')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment