diff options
Diffstat (limited to 'src/manager')
-rw-r--r-- | src/manager/Makefile.am | 1 | ||||
-rw-r--r-- | src/manager/main.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/manager/Makefile.am b/src/manager/Makefile.am index 6c50f1563..b5948c0a8 100644 --- a/src/manager/Makefile.am +++ b/src/manager/Makefile.am @@ -17,7 +17,6 @@ AM_CFLAGS = -rdynamic \ -DSTRONGSWAN_CONF=\"${strongswan_conf}\" \ -DIPSECDIR=\"${ipsecdir}\" \ -DIPSEC_PIDDIR=\"${piddir}\" \ - -DIPSEC_PLUGINDIR=\"${plugindir}\"\ -DPLUGINS=\""${libstrongswan_plugins}\"" # Don't forget to add templates to EXTRA_DIST !!! How to automate? diff --git a/src/manager/main.c b/src/manager/main.c index 9152f56ba..990beda4d 100644 --- a/src/manager/main.c +++ b/src/manager/main.c @@ -35,7 +35,7 @@ int main (int arc, char *argv[]) int threads, timeout; library_init(STRONGSWAN_CONF); - if (!lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, + if (!lib->plugins->load(lib->plugins, NULL, lib->settings->get_str(lib->settings, "manager.load", PLUGINS))) { return 1; |