Skip to content

Commit 95d6827

Browse files
committed
Add --cross-compile-prefix option to openssl CMakeList.txt
1 parent 9c1a3dc commit 95d6827

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

ci/vcpkg/ports.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,15 @@ index 4611af6..d11936f 100644
6464
set(brew_package_name "python")
6565
set(apt_package_name "python3")
6666
endif()
67+
diff --git a/ports/openssl/unix/CMakeLists.txt b/ports/openssl/unix/CMakeLists.txt
68+
index 75c21805a..f95792a74 100644
69+
--- a/ports/openssl/unix/CMakeLists.txt
70+
+++ b/ports/openssl/unix/CMakeLists.txt
71+
@@ -224,6 +224,7 @@ else()
72+
"--prefix=${CMAKE_INSTALL_PREFIX}"
73+
"--libdir=${CMAKE_INSTALL_PREFIX}/lib"
74+
"--openssldir=/etc/ssl"
75+
+ "--cross-compile-prefix=\"\""
76+
${CFLAGS}
77+
VERBATIM
78+
APPEND

0 commit comments

Comments
 (0)