From 1c4da332ee6e0d948f85a63f74cb27e89075c011 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 8 Dec 2022 14:37:56 +0000 Subject: build: new option to build plugins within the daemon binary Instead of creating libmm-plugin* and libmm-shared* libraries that are dlopen()-ed on runtime, allow incorporating all plugins into the daemon binary itself. This makes the startup of the daemon much faster and also avoids issues with builds that require linker namespace isolation. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/674 --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 3c740395..bdf14471 100644 --- a/src/main.c +++ b/src/main.c @@ -93,7 +93,9 @@ bus_acquired_cb (GDBusConnection *connection, /* Create Manager object */ g_assert (!manager); manager = mm_base_manager_new (connection, +#if !defined WITH_BUILTIN_PLUGINS mm_context_get_test_plugin_dir (), +#endif !mm_context_get_no_auto_scan (), mm_context_get_filter_policy (), mm_context_get_initial_kernel_events (), -- cgit v1.2.3-70-g09d2