Add plugin constructor registration for all libraries that provide plugins
[strongswan.git] / src / libcharon / daemon.c
index eadc10a..8daea78 100644 (file)
@@ -118,6 +118,13 @@ struct private_daemon_t {
 };
 
 /**
+ * Register plugins if built statically
+ */
+#ifdef STATIC_PLUGIN_CONSTRUCTORS
+#include "plugin_constructors.c"
+#endif
+
+/**
  * One and only instance of the daemon.
  */
 daemon_t *charon;