[PATCH 3/4] 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.
---
 libnm-glib/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libnm-glib/meson.build b/libnm-glib/meson.build
index f7fdf6339..9cef27f04 100644
--- a/libnm-glib/meson.build
+++ b/libnm-glib/meson.build
@@ -198,7 +198,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,' + symbol_map,
   link_depends: symbol_map,
   install: true
-- 
2.15.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]