Skip to content

Commit bc0b4a3

Browse files
committed
Merge branch 'master' of github.com:jasonacox/Build-OpenSSL-cURL
2 parents f4abe93 + 7f03e1e commit bc0b4a3

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

archive/release-template.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
This release includes cURL, OpenSSL and Nghttp2 libraries and header files for MacOS, Mac Catalyst, iOS and tvOS projects.
44

5+
## Build Command
6+
7+
./build.sh ZZZCMDS
8+
59
## Versions
610

711
LIBCURL="ZZZLIBCURL" # https://curl.haxx.se/download.html

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ NGHTTP2="1.47.0" # https://nghttp2.org/
1818

1919
# Build Machine
2020
BUILD_MACHINE=`uname -m`
21+
BUILD_CMD=$*
2122

2223
# Set minimum OS versions for target
2324
MACOS_X86_64_VERSION="" # Empty = use host version
@@ -337,7 +338,7 @@ cp curl/include/curl/* "$ARCHIVE/include/curl"
337338
curl -sL https://curl.se/ca/cacert.pem > $ARCHIVE/cacert.pem
338339

339340
# create README for archive
340-
sed -e "s/ZZZLIBCURL/$LIBCURL/g" -e "s/ZZZOPENSSL/$OPENSSL/g" -e "s/ZZZNGHTTP2/$NGHTTP2/g" archive/release-template.md > $ARCHIVE/README.md
341+
sed -e "s/ZZZCMDS/$BUILD_CMD/g" -e "s/ZZZLIBCURL/$LIBCURL/g" -e "s/ZZZOPENSSL/$OPENSSL/g" -e "s/ZZZNGHTTP2/$NGHTTP2/g" archive/release-template.md > $ARCHIVE/README.md
341342
echo
342343

343344
# EXAMPLE App - update test app with latest includes and XCFrameworks

example/iOS Test App/include/openssl/opensslconf.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ extern "C" {
8484
#ifndef OPENSSL_NO_SCTP
8585
# define OPENSSL_NO_SCTP
8686
#endif
87+
#ifndef OPENSSL_NO_SSL3
88+
# define OPENSSL_NO_SSL3
89+
#endif
90+
#ifndef OPENSSL_NO_SSL3_METHOD
91+
# define OPENSSL_NO_SSL3_METHOD
92+
#endif
8793
#ifndef OPENSSL_NO_UBSAN
8894
# define OPENSSL_NO_UBSAN
8995
#endif

0 commit comments

Comments
 (0)