aboutsummaryrefslogtreecommitdiff
path: root/bitcoin-qt.pro
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-06-08 16:43:06 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2012-08-23 21:01:01 +0000
commit9655d73f49cd4da189ddb2ed708c26dc4cb3babe (patch)
treee4bc13f995f1634b05094471aae5c352f61da576 /bitcoin-qt.pro
parent45beb88966ff0f54606593f9cf43a5883e8acf49 (diff)
Allow building with IPv6 support, but it disabled by default
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r--bitcoin-qt.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index f8422af333..92103f1e39 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -71,12 +71,16 @@ contains(FIRST_CLASS_MESSAGING, 1) {
DEFINES += FIRST_CLASS_MESSAGING
}
-# use: qmake "USE_IPV6=1" (enabled; default)
+# use: qmake "USE_IPV6=1" ( enabled by default; default)
+# or: qmake "USE_IPV6=0" (disabled by default)
# or: qmake "USE_IPV6=-" (not supported)
contains(USE_IPV6, -) {
message(Building without IPv6 support)
} else {
- DEFINES += USE_IPV6
+ count(USE_IPV6, 0) {
+ USE_IPV6=1
+ }
+ DEFINES += USE_IPV6=$$USE_IPV6
}
contains(BITCOIN_NEED_QT_PLUGINS, 1) {