On Mon, Oct 27, 2025 at 4:59 PM Nicolas PARLANT
<[email protected]> wrote:
>
> passt needs gio but not gdbus-codegen. Make gdbus-codegen optional,
> dbus_display which requires it will still fail as expected.
>
> Signed-off-by: Nicolas PARLANT <[email protected]>

Reviewed-by: Marc-André Lureau <[email protected]>

> ---
>  meson.build | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/meson.build b/meson.build
> index c5710a6a47..3f7c973127 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -1126,8 +1126,7 @@ if not get_option('gio').auto() or have_system
>      gio = not_found
>    endif
>    if gio.found()
> -    gdbus_codegen = find_program('gdbus-codegen',
> -                                 required: get_option('gio'))
> +    gdbus_codegen = find_program('gdbus-codegen', required: false)
>      gio_unix = dependency('gio-unix-2.0', required: get_option('gio'),
>                            method: 'pkg-config')
>      gio = declare_dependency(dependencies: [gio, gio_unix],
> --
> 2.51.0
>
>


-- 
Marc-André Lureau

Reply via email to