From 2651b08477f42dd7a05ea7d6df410fb2c46de4fb Mon Sep 17 00:00:00 2001
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date: Wed, 31 Aug 2016 11:04:06 +0300
Subject: [PATCH] Use correct include dir with minitasn
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This allows compiling certtool-cfg without libtasn headers.

Upstream-Status: Submitted [https://gitlab.com/gnutls/gnutls/merge_requests/54]
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
---
 src/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 182f3a5..cf65388 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -146,6 +146,7 @@ libcmd_cli_debug_la_SOURCES = cli-debug-args.def cli-debug-args.c cli-debug-args
 COMMON_LIBS = $(LIBOPTS) $(LTLIBINTL)
 if ENABLE_MINITASN1
 COMMON_LIBS += ../lib/minitasn1/libminitasn1.la ../gl/libgnu.la 
+AM_CPPFLAGS += -I$(top_srcdir)/lib/minitasn1
 else
 COMMON_LIBS += $(LIBTASN1_LIBS)
 endif
-- 
2.9.3

