From 236ae73ed8c8eef3740a93ef18dc31ae9a7f2d79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 23 Apr 2021 09:30:43 +0300 Subject: Lowercase system includes and lib names for Windows, fix cross compiling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/network/configure.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/configure.json') 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" }, { -- cgit v1.2.3