Skip to content

Commit c06ee3d

Browse files
committed
Update 1.1.1
1 parent 237db4e commit c06ee3d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ This script will generate static library for armv7s arm64 and x86_64.
55
New Xcode7 bitcode feature supported.
66

77
Script only, please download openssl from here: http://www.openssl.org/source/
8-
Tested Xcode 8 and macOS 12
9-
Tested openssl 1.1.0c
8+
Tested Xcode 10 and macOS 10.13
9+
Tested openssl 1.1.1
1010
For 1.0.x version, please check branch 1.0.x
1111

1212

1313
Usage
1414
=================
1515
Copy the following lines to your Terminal.app
1616
```
17-
curl -O http://www.openssl.org/source/openssl-1.0.2d.tar.gz
18-
tar xf openssl-1.0.2d.tar.gz
19-
cd openssl-1.0.2d
17+
curl -O http://www.openssl.org/source/openssl-1.1.1.tar.gz
18+
tar xf openssl-1.1.1.tar.gz
19+
cd openssl-1.1.1
2020
curl https://raw.githubusercontent.com/sinofool/build-openssl-ios/master/build_openssl_dist.sh |bash
2121
```
2222
Find the result folder openssl-ios-dist on your desktop.
2323

2424

25-
Binary
25+
Binary (old 1.0.2c)
2626
=================
2727
You can find a prebuild binary here: https://sinofool.net/dl/openssl-ios-dist.tar.bz2
2828

build_openssl_dist.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function build_for ()
2020

2121
export CROSS_TOP="${!CROSS_TOP_ENV}"
2222
export CROSS_SDK="${!CROSS_SDK_ENV}"
23-
./Configure $PLATFORM "-arch $ARCH -fembed-bitcode" no-asm no-ssl3 no-comp no-hw no-engine --prefix=${TMP_DIR}/${ARCH} || exit 1
23+
./Configure $PLATFORM "-arch $ARCH -fembed-bitcode" no-asm no-ssl3 no-comp no-hw no-engine no-async --prefix=${TMP_DIR}/${ARCH} || exit 1
2424
# problem of concurrent build; make -j8
2525
make && make install_sw || exit 2
2626
unset CROSS_TOP
@@ -39,7 +39,7 @@ function pack_for ()
3939
}
4040

4141
curl -O https://raw.githubusercontent.com/sinofool/build-openssl-ios/master/patch-conf.patch
42-
#cp ../build-openssl-ios/patch-conf.patch .
42+
#cp ../patch-conf.patch .
4343
patch Configurations/10-main.conf < patch-conf.patch
4444

4545
build_for ios64sim-cross x86_64 SIM || exit 2

patch-conf.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1630a1631,1637
1+
1636a1637,1643
22
> "ios64sim-cross" => {
33
> inherit_from => [ "darwin-common", asm("no_asm") ],
44
> cflags => add("-arch x86_64 -DOPENSSL_NO_ASM -mios-version-min=7.0.0 -isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK) -fno-common"),

0 commit comments

Comments
 (0)