diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2022-12-08 14:37:56 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2023-01-03 13:56:25 +0000 |
commit | 1c4da332ee6e0d948f85a63f74cb27e89075c011 (patch) | |
tree | 03a01bf796b4d435cd233c89ed3d05c562ed3fd1 /src/mm-context.h | |
parent | 1dd70be4c834ba025ff16b343aa4032a8c64fb71 (diff) |
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
Diffstat (limited to 'src/mm-context.h')
-rw-r--r-- | src/mm-context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-context.h b/src/mm-context.h index fcca1f65..7ca2b7f4 100644 --- a/src/mm-context.h +++ b/src/mm-context.h @@ -48,7 +48,9 @@ gboolean mm_context_get_test_session (void); #if defined WITH_TESTS gboolean mm_context_get_test_enable (void); #endif +#if !defined WITH_BUILTIN_PLUGINS const gchar *mm_context_get_test_plugin_dir (void); +#endif #if defined WITH_UDEV gboolean mm_context_get_test_no_udev (void); #endif |