summaryrefslogtreecommitdiffstats
path: root/src/plugins/tls
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/plugins/tls
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/plugins/tls')
-rw-r--r--src/plugins/tls/schannel/CMakeLists.txt4
-rw-r--r--src/plugins/tls/schannel/qtls_schannel_p.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/tls/schannel/CMakeLists.txt b/src/plugins/tls/schannel/CMakeLists.txt
index d3caca92df..b038f6056e 100644
--- a/src/plugins/tls/schannel/CMakeLists.txt
+++ b/src/plugins/tls/schannel/CMakeLists.txt
@@ -21,8 +21,8 @@ qt_internal_add_plugin(QSchannelBackend
qtlskey_schannel.cpp qtlskey_schannel_p.h
qx509_schannel.cpp qx509_schannel_p.h
LIBRARIES
- Crypt32
- Secur32
+ crypt32
+ secur32
bcrypt
ncrypt
PUBLIC_LIBRARIES
diff --git a/src/plugins/tls/schannel/qtls_schannel_p.h b/src/plugins/tls/schannel/qtls_schannel_p.h
index 08ba80c543..ca4f8f09cf 100644
--- a/src/plugins/tls/schannel/qtls_schannel_p.h
+++ b/src/plugins/tls/schannel/qtls_schannel_p.h
@@ -63,7 +63,7 @@ QT_REQUIRE_CONFIG(schannel);
#define SECURITY_WIN32
#define SCHANNEL_USE_BLACKLISTS 1
-#include <Winternl.h> // needed for UNICODE defines
+#include <winternl.h> // needed for UNICODE defines
#include <security.h>
#include <schnlsp.h>
#undef SCHANNEL_USE_BLACKLISTS