aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Gögge <n.goeggi@gmail.com>2020-11-23 23:31:13 +0100
committerNiklas Gögge <n.goeggi@gmail.com>2020-11-26 09:38:44 +0100
commit01b647b1a20bbf1de2f5f4624c34b554ad3790f2 (patch)
tree31957b31cd629b37529c6963a1f8cc240fdd55b9
parent9facca3ce0ad3c325676f9c9f0e6ed4429f0c335 (diff)
build: Avoid secp256k1.h include from system
GitHub-Pull: #20469 Rebase-From: e95aaefe2540cb76969818fcc2ff77d33448ed5a
-rw-r--r--src/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 67fd402603..c26cb34549 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,9 +20,8 @@ else
LIBUNIVALUE = $(UNIVALUE_LIBS)
endif
-BITCOIN_INCLUDES=-I$(builddir) $(BDB_CPPFLAGS) $(BOOST_CPPFLAGS) $(LEVELDB_CPPFLAGS)
+BITCOIN_INCLUDES=-I$(builddir) -I$(srcdir)/secp256k1/include $(BDB_CPPFLAGS) $(BOOST_CPPFLAGS) $(LEVELDB_CPPFLAGS)
-BITCOIN_INCLUDES += -I$(srcdir)/secp256k1/include
BITCOIN_INCLUDES += $(UNIVALUE_CFLAGS)
LIBBITCOIN_SERVER=libbitcoin_server.a