mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
fix for build.h regeneration failure when compiling on Windows
- as the "||" operator is not known to qmake use "|" instead, which ensures the code in brackets does never get executed on Windows
This commit is contained in:
parent
232393e3bd
commit
30d509c12e
@ -81,7 +81,7 @@ contains(BITCOIN_NEED_QT_PLUGINS, 1) {
|
||||
}
|
||||
|
||||
# regenerate src/build.h
|
||||
!windows || contains(USE_BUILD_INFO, 1) {
|
||||
!windows|contains(USE_BUILD_INFO, 1) {
|
||||
genbuild.depends = FORCE
|
||||
genbuild.commands = cd $$PWD; /bin/sh share/genbuild.sh $$OUT_PWD/build/build.h
|
||||
genbuild.target = $$OUT_PWD/build/build.h
|
||||
|
Loading…
Reference in New Issue
Block a user