From 3f13da890649b8cb88e8e2e39872831c13567a1e Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 4 Mar 2013 16:34:00 +0000 Subject: Build with the libtasn1 CFLAGS properly Tweaks by: Roman Bogorodskiy https://bugs.freedesktop.org/show_bug.cgi?id=61739 --- tools/Makefile.am | 4 +++- tools/tests/Makefile.am | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/Makefile.am b/tools/Makefile.am index e28f15f..4977221 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -22,7 +22,6 @@ p11_kit_SOURCES = \ $(NULL) p11_kit_CFLAGS = \ - $(LIBTASN1_CFLAGS) \ $(NULL) p11_kit_LDADD = \ @@ -38,6 +37,9 @@ p11_kit_LDADD += \ $(top_builddir)/common/libp11-data.la \ $(LIBTASN1_LIBS) +p11_kit_CFLAGS += \ + $(LIBTASN1_CFLAGS) + p11_kit_SOURCES += \ extract.c extract.h \ extract-info.c \ diff --git a/tools/tests/Makefile.am b/tools/tests/Makefile.am index 4239a41..a74c981 100644 --- a/tools/tests/Makefile.am +++ b/tools/tests/Makefile.am @@ -16,7 +16,9 @@ INCLUDES = \ -I$(srcdir)/.. \ -I$(COMMON) \ -DP11_KIT_FUTURE_UNSTABLE_API \ - $(CUTEST_CFLAGS) + $(LIBTASN1_CFLAGS) \ + $(CUTEST_CFLAGS) \ + $(NULL) LDADD = \ $(top_builddir)/p11-kit/libp11-kit.la \ -- cgit v1.1