summaryrefslogtreecommitdiff
path: root/src/libtpmtss/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtpmtss/Makefile.am')
-rw-r--r--src/libtpmtss/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libtpmtss/Makefile.am b/src/libtpmtss/Makefile.am
index 8fcb44f6a..e2c159710 100644
--- a/src/libtpmtss/Makefile.am
+++ b/src/libtpmtss/Makefile.am
@@ -1,6 +1,9 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/libstrongswan
+AM_CFLAGS = \
+ $(tss2_CFLAGS)
+
AM_LDFLAGS = \
-no-undefined
@@ -16,7 +19,7 @@ libtpmtss_la_LIBADD = \
$(top_builddir)/src/libstrongswan/libstrongswan.la
if USE_TSS2
-libtpmtss_la_LIBADD += -ltctisocket -ltss2
+libtpmtss_la_LIBADD += $(tss2_LIBS)
endif
if USE_TROUSERS