Skip to content

Commit

Permalink
meson: Handle libnice being a subproject
Browse files Browse the repository at this point in the history
In which case Meson won't implicitly add --pkg=nice for us.
  • Loading branch information
oleavr committed Apr 19, 2024
1 parent 3f44bca commit 4bbd034
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/base/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4bbd034

Please sign in to comment.