meson: work around meson not passing on the threads dependency when link_with is...
commit2939585bd694eafbe7547beafccbbd38497a7678
authorChristoph Reiter <creiter@src.gnome.org>
Fri, 5 Jan 2018 12:22:17 +0000 (5 13:22 +0100)
committerChristoph Reiter <creiter@src.gnome.org>
Fri, 5 Jan 2018 14:29:00 +0000 (5 15:29 +0100)
tree8c76574a52dfe3f909152ede626ce47c969c0c6b
parent6d009bc56a4e1d369e906f67188a6338b98ba929
meson: work around meson not passing on the threads dependency when link_with is used

When using link_with with declare_dependency() or executable() the threads
dependency is not passed on. To work around the issue add the threads dependency
manually. See https://github.com/mesonbuild/meson/issues/1426

This makes the static build on Linux work.

https://bugzilla.gnome.org/show_bug.cgi?id=788806
glib/meson.build