From 4bbd03496b99cfffc76d332197643262cefe927d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Fri, 19 Apr 2024 23:41:03 +0200 Subject: [PATCH] meson: Handle libnice being a subproject In which case Meson won't implicitly add --pkg=nice for us. --- lib/base/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/base/meson.build b/lib/base/meson.build index 0359914ed..9b1c554af 100644 --- a/lib/base/meson.build +++ b/lib/base/meson.build @@ -19,6 +19,9 @@ if host_os_family != 'windows' endif base_vala_args = [gum_vala_args, '--pkg=gio-2.0', '--pkg=json-glib-1.0'] +if nice_dep.found() + base_vala_args += '--pkg=nice' +endif base = static_library('frida-base-' + api_version, base_sources, c_args: frida_component_cflags,