Skip to content

Commit

Permalink
fix(docker): solve issue with openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
aesedepece committed Nov 11, 2024
1 parent c37598b commit ab21fee
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docker/cross-compilation/openssl.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Copyright 2016-2019 Jorge Aparicio, Marco A L Barbosa & bgermann.
#
#
# https://github.com/rust-embedded/cross/blob/master/docker/openssl.sh
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -24,6 +24,7 @@ main() {
local dependencies=(
ca-certificates
curl
wget
m4
make
perl
Expand All @@ -42,8 +43,8 @@ main() {
td=$(mktemp -d)

pushd $td
curl https://www.openssl.org/source/openssl-$version.tar.gz | \
tar --strip-components=1 -xz
wget https://www.openssl.org/source/openssl-$version.tar.gz
tar --strip-components=1 -xzvf openssl-$version.tar.gz
AR=${triple}ar CC=${triple}gcc ./Configure \
--prefix=/openssl \
no-dso \
Expand Down

0 comments on commit ab21fee

Please sign in to comment.