Merge #20505: [backport] build: Avoid secp256k1.h include from system

01b647b1a2 build: Avoid secp256k1.h include from system (Niklas Gögge)

Pull request description:

  Backports #20469 to the 0.21 branch.

ACKs for top commit:
  hebasto:
    ACK 01b647b1a2, I have reviewed the code and it looks OK, I agree it can be merged.

Tree-SHA512: c098055b5e413be6f438d1d43e80c1943329ebb708531d8d82e72de402bddeb6f8b812303f9ae5a45abf62b3ff87fa909fbbf7fb56dca7959ecb9061febae4a1
This commit is contained in:
fanquake
2020-12-02 09:20:28 +08:00

View File

@@ -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