From ccc47c554cc22f4eb4da4e4daaff02af23838a32 Mon Sep 17 00:00:00 2001 From: Michael Toutonghi Date: Sat, 6 Oct 2018 23:44:26 -0700 Subject: [PATCH] Add cc include dirs to make file --- src/Makefile.am | 2 ++ src/cryptoconditions/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index e40cd43db..588b82372 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -25,6 +25,8 @@ BITCOIN_INCLUDES=-I$(builddir) -I$(builddir)/obj $(BDB_CPPFLAGS) $(BOOST_CPPFLAG BITCOIN_INCLUDES += -I$(srcdir)/secp256k1/include BITCOIN_INCLUDES += -I$(srcdir)/cryptoconditions/include +BITCOIN_INCLUDES += -I$(srcdir)/cryptoconditions/src +BITCOIN_INCLUDES += -I$(srcdir)/cryptoconditions/src/asn BITCOIN_INCLUDES += -I$(srcdir)/snark BITCOIN_INCLUDES += -I$(srcdir)/snark/libsnark BITCOIN_INCLUDES += -I$(srcdir)/univalue/include diff --git a/src/cryptoconditions/Makefile.am b/src/cryptoconditions/Makefile.am index 84945266a..787b11ac6 100644 --- a/src/cryptoconditions/Makefile.am +++ b/src/cryptoconditions/Makefile.am @@ -9,7 +9,7 @@ include_HEADERS = include/cryptoconditions.h libcryptoconditions_la_SOURCES = include/cryptoconditions.h libcryptoconditions_la_LIBADD = $(CRYPTOCONDITIONS_CORE) $(LIBSECP256K1) -AM_CFLAGS = -I$(top_srcdir)/src/asn -I./cryptoconditions/src/asn -I$(top_srcdir)/include -I$(top_srcdir)/src/include \ +AM_CFLAGS = -I$(top_srcdir)/src/asn -I$(top_srcdir)/include -I$(top_srcdir)/src/include \ -Wall -Wno-pointer-sign -Wno-discarded-qualifiers LIBSECP256K1=src/include/secp256k1/libsecp256k1.la