From cfde8ec2339bf62803db42e07324599457468079 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 21 Apr 2017 13:44:10 +0200 Subject: [PATCH] use pkg-config for build of tests --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bb50e30970..0201336bcd 100644 --- a/Makefile +++ b/Makefile @@ -46,8 +46,8 @@ SRCS += blake2b.c blake2s.c OBJS = $(SRCS:.c=.o) -TESTLIBS = -lcheck -lrt -lpthread -lm -lsubunit -TESTSSLLIBS = -lcrypto +TESTLIBS = $(shell pkg-config --libs check) -lrt -lpthread -lm +TESTSSLLIBS = -lcrypto all: tests test-openssl libtrezor-crypto.so test_speed tools