Skip to content

Commit 3aa60b7

Browse files
committed
Merge #11143: Fix include path for bitcoin-config.h
5abb93f Fix include path for bitcoin-config.h in crypto/common.h (danra) Pull request description: All the other files in the repo which include bitcoin-config.h do so with the appropriate subfolder prefixed: config/bitcoin-config.h The header should be included with the appropriate subfolder here as well. Tree-SHA512: abda23a9cf251553f90afe0ee1866de46ed579471f4139737239a4f9334ca817d985deac6336740898718775d1264c0b80cb348668b10a9cae970895f2de37b8
2 parents 14eae78 + 5abb93f commit 3aa60b7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Makefile.am

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ else
1818
LIBUNIVALUE = $(UNIVALUE_LIBS)
1919
endif
2020

21-
BITCOIN_CONFIG_INCLUDES=-I$(builddir)/config
2221
BITCOIN_INCLUDES=-I$(builddir) -I$(builddir)/obj $(BDB_CPPFLAGS) $(BOOST_CPPFLAGS) $(LEVELDB_CPPFLAGS) $(CRYPTO_CFLAGS) $(SSL_CFLAGS)
2322

2423
BITCOIN_INCLUDES += -I$(srcdir)/secp256k1/include
@@ -252,7 +251,7 @@ libbitcoin_wallet_a_SOURCES = \
252251
$(BITCOIN_CORE_H)
253252

254253
# crypto primitives library
255-
crypto_libbitcoin_crypto_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_CONFIG_INCLUDES)
254+
crypto_libbitcoin_crypto_a_CPPFLAGS = $(AM_CPPFLAGS)
256255
crypto_libbitcoin_crypto_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
257256
crypto_libbitcoin_crypto_a_SOURCES = \
258257
crypto/aes.cpp \

src/crypto/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#define BITCOIN_CRYPTO_COMMON_H
77

88
#if defined(HAVE_CONFIG_H)
9-
#include "bitcoin-config.h"
9+
#include "config/bitcoin-config.h"
1010
#endif
1111

1212
#include <stdint.h>

0 commit comments

Comments
 (0)