aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-nm/nm/nm_backend.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-06-27 11:27:36 +0200
committerTobias Brunner <tobias@strongswan.org>2012-06-27 11:31:16 +0200
commitaa54ecef44381727f411813c31d75050a9f43aaf (patch)
tree563ec442065db383a7bc66cb6e662a6c7d54ddaa /src/charon-nm/nm/nm_backend.c
parentec3b332bf830a759036d8566f054f563e9cfdb2b (diff)
downloadstrongswan-aa54ecef44381727f411813c31d75050a9f43aaf.tar.bz2
strongswan-aa54ecef44381727f411813c31d75050a9f43aaf.tar.xz
Use static plugin features in libcharon to define essential dependencies
Diffstat (limited to 'src/charon-nm/nm/nm_backend.c')
-rw-r--r--src/charon-nm/nm/nm_backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charon-nm/nm/nm_backend.c b/src/charon-nm/nm/nm_backend.c
index f8ed23ef1..de9bf27b7 100644
--- a/src/charon-nm/nm/nm_backend.c
+++ b/src/charon-nm/nm/nm_backend.c
@@ -167,6 +167,7 @@ void nm_backend_register()
static plugin_feature_t features[] = {
PLUGIN_CALLBACK((plugin_feature_callback_t)nm_backend_cb, NULL),
PLUGIN_PROVIDE(CUSTOM, "NetworkManager backend"),
+ PLUGIN_DEPENDS(CUSTOM, "libcharon"),
};
lib->plugins->add_static_features(lib->plugins, "nm-backend", features,
countof(features), TRUE);