summaryrefslogtreecommitdiffstats
path: root/src/network/configure.json
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-04-23 09:30:43 +0300
committerMartin Storsjö <martin@martin.st>2021-04-23 14:31:04 +0300
commit236ae73ed8c8eef3740a93ef18dc31ae9a7f2d79 (patch)
treec6bdb60e64685b28f78a8bcdb31e8b5f13a54660 /src/network/configure.json
parent0a1256a52d8c6c1b85a10f7dc94dfc34e3540040 (diff)
Lowercase system includes and lib names for Windows, fix cross compiling
When cross compiling from a case sensitive file system, casing matters, and mingw headers and import libraries consistently use lowercase. This was uncovered by d385158d5213ef568b7629e2aa4a818016bbffac; prior to that, the schannel TLS plugin didn't end up built (at least when cross compiling). Fix other similar cases that can be found by grepping the repo. Change-Id: Ia696e17b7aaa979d7b7f5b0801383f338a8b585b Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/configure.json')
-rw-r--r--src/network/configure.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/configure.json b/src/network/configure.json
index 01dd855a1c..de1dce8fb4 100644
--- a/src/network/configure.json
+++ b/src/network/configure.json
@@ -89,11 +89,11 @@
"sources": [
{ "type": "openssl" },
{
- "libs": "-lssleay32 -llibeay32 -lUser32 -lWs2_32 -lAdvapi32 -lGdi32",
+ "libs": "-lssleay32 -llibeay32 -luser32 -lws2_32 -ladvapi32 -lgdi32",
"condition": "config.win32"
},
{
- "libs": "-llibssl -llibcrypto -lUser32 -lWs2_32 -lAdvapi32 -lCrypt32",
+ "libs": "-llibssl -llibcrypto -luser32 -lws2_32 -ladvapi32 -lcrypt32",
"condition": "config.msvc"
},
{