mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-30 18:35:49 +00:00
22 lines
503 B
Bash
22 lines
503 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
function readlink() {
|
|
echo "$(cd "$(dirname "$1")"; pwd -P)"
|
|
}
|
|
root_dir="$(dirname "$(dirname "$(readlink "$0")")")"
|
|
|
|
cd $root_dir
|
|
|
|
if [ ! -f dist-newstyle/openssl-1.1.1w/libcrypto-1_1-x64.dll ]; then
|
|
mkdir dist-newstyle 2>/dev/null || true
|
|
cd dist-newstyle
|
|
curl --tlsv1.2 https://www.openssl.org/source/openssl-1.1.1w.tar.gz -o openssl.tar.gz
|
|
$WINDIR\\System32\\tar.exe -xvzf openssl.tar.gz
|
|
cd openssl-1.1.1w
|
|
./Configure mingw64
|
|
make
|
|
cd ../../
|
|
fi
|