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:
Philip Kaufmann
2012-07-22 21:08:00 +00:00
committed by Luke Dashjr
parent e65f25d54e
commit 339eb29a87
+1 -1
View File
@@ -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 = genbuildhook