From 9933b6bb7ecf57fa0ff288198598ade704bfafe6 Mon Sep 17 00:00:00 2001 From: ZachBacon Date: Fri, 20 Apr 2018 20:39:19 -0400 Subject: [PATCH] if cross compiling openssl, need to add --cross-compile-prefix=- --- tools/win/linux-cross-builder | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/win/linux-cross-builder b/tools/win/linux-cross-builder index 46f0ab02..61d002eb 100755 --- a/tools/win/linux-cross-builder +++ b/tools/win/linux-cross-builder @@ -70,9 +70,7 @@ fi openssl_host=mingw [ "$target_bits" -eq 64 ] && openssl_host=mingw64 -table_line_replace DIST_CONFIGURE_OVERRIDES openssl-target "./Configure $openssl_host no-shared --prefix=/usr --openssldir=/etc/ssl" - -table_line_append DIST_MAKE_ARGS openssl-target "RANLIB=${target_arch}-ranlib" +table_line_replace DIST_CONFIGURE_OVERRIDES openssl-target "./Configure $openssl_host no-shared --prefix=/usr --openssldir=/etc/ssl --cross-compile-prefix=${target_arch}-" table_line_append DIST_PRE_BUILD bzip2-target ':; sed -i.bak '\''s,include ,include ,g'\'' *.c;'