summaryrefslogtreecommitdiff
path: root/src/libtpmtss/tpm_tss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtpmtss/tpm_tss.c')
-rw-r--r--src/libtpmtss/tpm_tss.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libtpmtss/tpm_tss.c b/src/libtpmtss/tpm_tss.c
index b7b970c8d..42a341896 100644
--- a/src/libtpmtss/tpm_tss.c
+++ b/src/libtpmtss/tpm_tss.c
@@ -18,6 +18,13 @@
#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)