diff options
-rw-r--r-- | src/Makefile.qt.include | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile.qt.include b/src/Makefile.qt.include index 8b782b2ad5..f31f128319 100644 --- a/src/Makefile.qt.include +++ b/src/Makefile.qt.include @@ -281,8 +281,11 @@ BITCOIN_QT_CPP = \ qt/scicon.cpp \ qt/splashscreen.cpp \ qt/trafficgraphwidget.cpp \ - qt/utilitydialog.cpp \ - qt/winshutdownmonitor.cpp + qt/utilitydialog.cpp + +if TARGET_WINDOWS +BITCOIN_QT_CPP += qt/winshutdownmonitor.cpp +endif if ENABLE_WALLET BITCOIN_QT_CPP += \ |