summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@collabora.com>2018-12-17 13:03:24 +0100
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>2018-12-21 19:51:15 +0000
commit172727599005c8c0ded5754a6916e901b7ef452e (patch)
tree7361c0d5f85233b863a4c2ec60906238455d971a /examples
parent9864f36b6436e29f8eff28644c952c4c8f066272 (diff)
downloadlibnice-172727599005c8c0ded5754a6916e901b7ef452e.tar.gz
meson: Fix build with fallback glib
When building libnice with glib fallback, its 'libgio_dep' internal dependency doesn't provide all needed include and library search paths. To avoid unresolved header files and linker errors in such case, 'libglib_dep', 'libmodule_dep' and 'libgobject_dep' from glib submodule must be pulled in as well. The problem should be fixed in GLib 2.60.
Diffstat (limited to 'examples')
-rw-r--r--examples/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/meson.build b/examples/meson.build
index f183b03..e0d0a00 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -3,6 +3,6 @@ examples = ['simple-example', 'threaded-example', 'sdp-example']
foreach ex : examples
executable(ex, '@0@.c'.format(ex),
include_directories: nice_incs,
- dependencies: [libnice_dep, glib_dep, gupnp_igd_dep],
+ dependencies: gio_deps + [libnice_dep, gupnp_igd_dep],
install: false)
endforeach