Add plugin constructor registration for all libraries that provide plugins
[strongswan.git] / src / libtpmtss / tpm_tss.c
index b7b970c..42a3418 100644 (file)
 #include "tpm_tss_trousers.h"
 
 /**
+ * Register plugins if built statically
+ */
+#ifdef STATIC_PLUGIN_CONSTRUCTORS
+#include "plugin_constructors.c"
+#endif
+
+/**
  * Described in header.
  */
 void libtpmtss_init(void)