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 --- common/Makefile.am | 3 +++ common/tests/Makefile.am | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'common') diff --git a/common/Makefile.am b/common/Makefile.am index 96000dd..9e459b5 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -50,6 +50,9 @@ libp11_data_la_SOURCES = \ x509.c x509.h \ $(NULL) +libp11_data_la_CFLAGS = \ + $(LIBTASN1_CFLAGS) + asn: asn1Parser -o pkix.asn.h pkix.asn asn1Parser -o openssl.asn.h openssl.asn diff --git a/common/tests/Makefile.am b/common/tests/Makefile.am index 3ef4471..8fcbeab 100644 --- a/common/tests/Makefile.am +++ b/common/tests/Makefile.am @@ -33,6 +33,10 @@ LDADD += \ $(LIBTASN1_LIBS) \ $(NULL) +INCLUDES += \ + $(LIBTASN1_CFLAGS) \ + $(NULL) + CHECK_PROGS += \ test-asn1 \ test-checksum \ -- cgit v1.1