mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-06 01:13:45 -04:00
WIP: [externals] maybe fix OpenSSL nonsense
wtf is happening Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
cc8451f764
commit
5fcd5f379f
2 changed files with 19 additions and 1 deletions
17
.patch/openssl-cmake/0004-use-shell-wrapper.patch
Normal file
17
.patch/openssl-cmake/0004-use-shell-wrapper.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 9ff14c8..72dd753 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -301,6 +301,12 @@ if(ANDROID)
|
||||
)
|
||||
endif()
|
||||
|
||||
+# posix_spawn can race with overlayfs in containers, use fork+execve instead.
|
||||
+if(NOT WIN32)
|
||||
+ string(REPLACE ";" " " _openssl_build_cmd "${OPENSSL_BUILD_COMMAND}")
|
||||
+ set(OPENSSL_BUILD_COMMAND sh -c "${_openssl_build_cmd}")
|
||||
+endif()
|
||||
+
|
||||
file(GLOB_RECURSE OPENSSL_SOURCES
|
||||
${OpenSSL_SOURCE_DIR}/*.[ch]
|
||||
${OpenSSL_SOURCE_DIR}/*.[ch].in
|
||||
|
|
@ -19,7 +19,8 @@
|
|||
"patches": [
|
||||
"0001-cpmutil-compat.patch",
|
||||
"0002-use-ccache.patch",
|
||||
"0003-use-cmake-compiler-flags.patch"
|
||||
"0003-use-cmake-compiler-flags.patch",
|
||||
"0004-use-shell-wrapper.patch"
|
||||
]
|
||||
},
|
||||
"openssl": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue