Skip to content

Commit

Permalink
Merge pull request #167 from eeff/main
Browse files Browse the repository at this point in the history
cross-install.sh build openssl for riscv64
  • Loading branch information
fengzeroz authored Jan 30, 2024
2 parents 78c6939 + fe35bbd commit 48750f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cross-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ function build_openssl() {
git clone -b OpenSSL_1_1_1 https://github.com/openssl/openssl.git
cd openssl
mkdir -p $install_dir/openssl/ssl
./Configure linux-$arch no-asm no-async shared \
platform=linux-$arch
if [[ "arch" == "riscv64" ]]; then
platform=linux-generic64
fi
./Configure $platform no-asm no-async shared \
--prefix=$install_dir \
--openssldir=$install_dir/openssl/ssl \
--cross-compile-prefix=$compile_prefix
Expand Down

0 comments on commit 48750f5

Please sign in to comment.