aboutsummaryrefslogtreecommitdiffstats
path: root/tools/vtpm_manager/manager/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vtpm_manager/manager/Makefile')
-rw-r--r--tools/vtpm_manager/manager/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/vtpm_manager/manager/Makefile b/tools/vtpm_manager/manager/Makefile
index 149f01d2b9..7564af1474 100644
--- a/tools/vtpm_manager/manager/Makefile
+++ b/tools/vtpm_manager/manager/Makefile
@@ -33,4 +33,6 @@ $(BIN): $(OBJS)
# libraries
LIBS += ../tcs/libTCS.a ../util/libTCGUtils.a ../crypto/libtcpaCrypto.a
-LIBS += -lcrypto -lpthread -lm
+LIBS += -lcrypto $(PTHREAD_LIBS) -lm
+CFLAGS += $(PTHREAD_CFLAGS)
+LDFLAGS += $(PTHREAD_LDFLAGS)