diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-06-27 11:27:36 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-06-27 11:31:16 +0200 |
commit | aa54ecef44381727f411813c31d75050a9f43aaf (patch) | |
tree | 563ec442065db383a7bc66cb6e662a6c7d54ddaa /src/charon-nm/nm/nm_backend.c | |
parent | ec3b332bf830a759036d8566f054f563e9cfdb2b (diff) | |
download | strongswan-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.c | 1 |
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); |