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-10 13:44:56 +02:00
parent 232393e3bd
commit 30d509c12e

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 = $$OUT_PWD/build/build.h