diff options
author | John Newbery <john@johnnewbery.com> | 2018-09-07 12:35:42 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-09-07 16:08:40 -0400 |
commit | 3076556cd0317f7a05fd6836133dd6c051c4b53f (patch) | |
tree | 60145f148ea458a01a659f834a403f7125048628 /src/Makefile.am | |
parent | b8cf492e850abb05a39f24150b08320ae2a3f451 (diff) |
[build] Move dummy wallet into its own .cpp file.
Removes the ifdef ENABLE_WALLET from init.cpp.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 3701ee8f3c..74855dd7a5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -260,6 +260,10 @@ libbitcoin_server_a_SOURCES = \ versionbits.cpp \ $(BITCOIN_CORE_H) +if !ENABLE_WALLET +libbitcoin_server_a_SOURCES += dummywallet.cpp +endif + if ENABLE_ZMQ libbitcoin_zmq_a_CPPFLAGS = $(BITCOIN_INCLUDES) $(ZMQ_CFLAGS) libbitcoin_zmq_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) |