Utilize autoconf variables for cmocka usage

This commit is contained in:
Jakub Jelen 2018-06-12 10:56:09 +02:00 committed by Frank Morgner
parent f9f3bc3ae0
commit f392d7426f
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ p11test_SOURCES = p11test.c p11test_loader.c \
p11test_case_wait.c \
p11test_case_pss_oaep.c \
p11test_helpers.c
p11test_CFLAGS = -DNDEBUG
p11test_LDADD = -lssl -lcrypto -lcmocka
p11test_CFLAGS = -DNDEBUG $(CMOCKA_CFLAGS)
p11test_LDADD = -lssl -lcrypto $(CMOCKA_LDLAGS)
if WIN32
p11test_SOURCES += $(top_builddir)/win32/versioninfo.rc