if cross compiling openssl, need to add --cross-compile-prefix=-

This commit is contained in:
ZachBacon 2018-04-20 20:39:19 -04:00
parent 55caf62e01
commit 9933b6bb7e
1 changed files with 1 additions and 3 deletions

View File

@ -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 <sys\\stat.h>,include <sys/stat.h>,g'\'' *.c;'