Commit ff75be1b authored by Jakub Adam's avatar Jakub Adam Committed by Olivier Crête

meson: Fix pkg-config generation with internal dependencies

Prevents Meson error:

ERROR:  requires argument not a string, library with pkgconfig-generated
file or pkgconfig-dependency object, got <InternalDependency null: True>

Requires Meson 0.49.
parent 17272759
project('libnice', 'c',
version: '',
meson_version : '>= 0.47.0',
meson_version : '>= 0.49.0',
default_options : ['warning_level=1', 'buildtype=debugoptimized'])
nice_version = meson.project_version()
......@@ -62,7 +62,5 @@ pkg.generate(libnice,
filebase: 'nice',
subdirs: 'nice',
description: 'ICE library',
requires: gio_dep,
requires_private: [gthread_dep, gupnp_igd_dep, crypto_dep],
libraries_private: syslibs,
libraries: gio_dep,
variables: ['upnp_enabled=@0@'.format(upnp_enabled_string)])
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