build: fix automake warnings about the use of INCLUDES

While we're at it, reduce the use of LIBS as well. This makes dependencies
explicit.

Fixes building with (the not-yet-merged) libsecp256k1 as well.

Github-Pull: #4689
Rebased-By: Wladimir J. van der laan <laanwj@gmail.com>
Rebased-From: 909b347 c0e5dda
This commit is contained in:
Cory Fields
2014-08-07 11:16:07 -04:00
committed by Wladimir J. van der Laan
parent 7accb7dbad
commit 6b099402b4
5 changed files with 22 additions and 16 deletions

View File

@@ -74,7 +74,7 @@ if USE_LIBSECP256K1
test_test_bitcoin_LDADD += secp256k1/libsecp256k1.la
endif
test_test_bitcoin_LDADD += $(BDB_LIBS)
test_test_bitcoin_LDADD += $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS)
nodist_test_test_bitcoin_SOURCES = $(GENERATED_TEST_FILES)