From 407f12cc0b251e0f956f558e035b9bba842acf37 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Wed, 21 Apr 2021 22:40:21 -0500 Subject: [PATCH] asn1: Fix --disable-asn1-templating build --- lib/asn1/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/asn1/Makefile.am b/lib/asn1/Makefile.am index 509e126f3..25742f5a5 100644 --- a/lib/asn1/Makefile.am +++ b/lib/asn1/Makefile.am @@ -77,7 +77,9 @@ check_der_SOURCES = check-der.c check-common.c check-common.h check_template_SOURCES = check-template.c check-common.c check-common.h nodist_check_template_SOURCES = $(gen_files_test_template:.x=.c) +if ASN1_TEMPLATING check_gen_template_CPPFLAGS = -DASN1_IOS_SUPPORTED +endif dist_check_gen_template_SOURCES = check-gen.c check-common.c check-common.h nodist_check_gen_template_SOURCES = $(gen_files_test_template:.x=.c) \ $(gen_files_x690sample_template:.x=.c)