summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2013-03-04 16:34:00 +0000
committerStef Walter <stefw@gnome.org>2013-03-04 18:55:47 +0100
commit3f13da890649b8cb88e8e2e39872831c13567a1e (patch)
treebaaeef0b21c8c96325babb77f3d91eaac65eeda7 /common
parent14b3b3d158bdd874f5bbd626f948d20e78b38f01 (diff)
Build with the libtasn1 CFLAGS properly
Tweaks by: Roman Bogorodskiy <bogorodskiy@gmail.com> https://bugs.freedesktop.org/show_bug.cgi?id=61739
Diffstat (limited to 'common')
-rw-r--r--common/Makefile.am3
-rw-r--r--common/tests/Makefile.am4
2 files changed, 7 insertions, 0 deletions
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 \