summaryrefslogtreecommitdiff
path: root/p11-kit/tests
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/tests')
-rw-r--r--p11-kit/tests/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/p11-kit/tests/Makefile.am b/p11-kit/tests/Makefile.am
index bd08426..026111c 100644
--- a/p11-kit/tests/Makefile.am
+++ b/p11-kit/tests/Makefile.am
@@ -1,10 +1,12 @@
include $(top_srcdir)/build/Makefile.tests
+COMMON = $(top_srcdir)/common
+
INCLUDES = \
-I$(top_srcdir) \
-I$(srcdir)/.. \
- -I$(top_srcdir)/common \
+ -I$(COMMON) \
$(CUTEST_CFLAGS)
LDADD = \
@@ -41,7 +43,9 @@ mock_one_la_SOURCES = \
mock-module-ep.c
mock_one_la_LIBADD = \
- $(top_builddir)/p11-kit/libp11-kit-compat.la
+ $(top_builddir)/common/libp11-library.la \
+ $(top_builddir)/common/libp11-compat.la \
+ $(NULL)
mock_one_la_LDFLAGS = \
-module -avoid-version -rpath /nowhere \