summaryrefslogtreecommitdiffstats
path: root/configure.json
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2018-06-01 15:13:30 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2018-08-30 06:48:33 +0000
commit29c0377f07f4942f9957ea87d59c252148dc9e5b (patch)
treecb79a59b6c47305ca024675cc1325ed0a6be8aac /configure.json
parent707ae5b66774a2ed4713da3b8fa69c1d002c3beb (diff)
WebAssembly for QtBase
This is the squashed diff from wip/webassembly to dev. Done-with: Peng Wu <peng.wu@intopalo.com> Done-with: Sami Enne <sami.enne@intopalo.com> Done-with: Morten Johan Sørvig <morten.sorvig@qt.io> Started-by: Andrew Knight <andrew.knight@intopalo.com> Change-Id: I6562433c0a38d6ec49ab675e0f104f2665f3392d Reviewed-by: Lorn Potter <lorn.potter@gmail.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'configure.json')
-rw-r--r--configure.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.json b/configure.json
index 1f45f2ccb2..8c8118f39a 100644
--- a/configure.json
+++ b/configure.json
@@ -162,7 +162,8 @@
"sources": [
{ "libs": "-lzdll", "condition": "config.msvc" },
{ "libs": "-lzlib", "condition": "config.msvc" },
- { "libs": "-lz", "condition": "!config.msvc" }
+ { "libs": "-lz", "condition": "!config.msvc" },
+ { "libs": "-s USE_ZLIB=1", "condition": "config.wasm" }
]
},
"dbus": {
@@ -613,7 +614,7 @@
},
"use_gold_linker": {
"label": "Using gold linker",
- "condition": "!config.win32 && !config.integrity && tests.use_gold_linker",
+ "condition": "!config.win32 && !config.integrity && !config.wasm && tests.use_gold_linker",
"output": [ "privateConfig", "useGoldLinker" ]
},
"optimize_debug": {