diff --git a/src/Makefile.am b/src/Makefile.am index 4cce3dcf90..a3770a0025 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -407,6 +407,9 @@ libdash_server_a_SOURCES = \ versionbits.cpp \ $(BITCOIN_CORE_H) +if ENABLE_WALLET +libdash_server_a_SOURCES += wallet/init.cpp +endif if !ENABLE_WALLET libdash_server_a_SOURCES += dummywallet.cpp endif