From 30d509c12e369ddd897fe235413e0c7b4d54cb09 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Tue, 10 Jul 2012 13:44:56 +0200 Subject: [PATCH] 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 --- bitcoin-qt.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index ed6ce85aa..f2d9b6f08 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -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