Update dependencies

This commit is contained in:
BtbN 2021-07-12 16:29:31 +02:00
parent dbd238fcde
commit 0631e027e9
34 changed files with 51 additions and 76 deletions

View file

@ -1,4 +1,4 @@
From 5cb3764fc555d685200f7f45a75e175ead1aea6c Mon Sep 17 00:00:00 2001
From 3144d063916caf6271d5af2b5edb58b95b49ef3f Mon Sep 17 00:00:00 2001
From: Syoyo Fujita <syoyo@lighttransport.com>
Date: Thu, 28 May 2020 21:38:16 +0900
Subject: [PATCH 1/4] Fix build on MinGW cross compiling environment.
@ -10,10 +10,10 @@ Subject: [PATCH 1/4] Fix build on MinGW cross compiling environment.
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index e01c97375..219b99bd5 100644
index d56f948cf..4e6c14ff8 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -158,7 +158,7 @@ if(WIN32)
@@ -160,7 +160,7 @@ if(WIN32)
if (USE_MASM)
enable_language(ASM_MASM)
endif ()
@ -22,7 +22,7 @@ index e01c97375..219b99bd5 100644
if(MINGW)
set(CMAKE_ASM_MASM_FLAGS ${CMAKE_ASM_MASM_FLAGS} ${JWASM_FLAGS})
elseif(NOT CMAKE_CL_64 AND NOT JWASM_FOUND)
@@ -178,6 +178,8 @@ if(WIN32)
@@ -180,6 +180,8 @@ if(WIN32)
add_library(loader-unknown-chain OBJECT unknown_ext_chain.c)
set_target_properties(loader-unknown-chain PROPERTIES CMAKE_C_FLAGS_DEBUG "${MODIFIED_C_FLAGS_DEBUG}")
target_compile_options(loader-unknown-chain PUBLIC ${MSVC_LOADER_COMPILE_OPTIONS})
@ -32,7 +32,7 @@ index e01c97375..219b99bd5 100644
elseif(APPLE)
# For MacOS, use the C code and force the compiler's tail-call optimization instead of using assembly code.
diff --git a/loader/loader.c b/loader/loader.c
index c3f482b41..4fe42de73 100644
index 7776ff5f4..dc26a9c4f 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -83,6 +83,19 @@