meson: Fix missing symbols in libnm-glib

The following symbols are missing from the libnm-glib library:

* libnm_glib_get_network_state
* libnm_glib_init
* libnm_glib_register_callback
* libnm_glib_shutdown
* libnm_glib_unregister_callback

This has been changed by linking `libdeprecated_nm_glib` as a whole.

https://mail.gnome.org/archives/networkmanager-list/2018-January/msg00056.html
This commit is contained in:
Iñigo Martínez 2018-01-11 17:02:12 +01:00 committed by Thomas Haller
parent 4fc4c16092
commit 54641388f8

View file

@ -200,7 +200,7 @@ libnm_glib = shared_library(
c_args: cflags + [
'-DNMRUNDIR="@0@"'.format(nm_pkgrundir),
],
link_with: libdeprecated_nm_glib,
link_whole: libdeprecated_nm_glib,
link_args: [
'-Wl,--version-script,@0@'.format(linker_script),
],