Skip to content

Commit

Permalink
libi build, update openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Ski committed Oct 3, 2020
1 parent 8410958 commit 67672f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/libimobiledevice/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ endif()
if (LINUX)
# some linuxes ship old version of openssl which will cause library not found so it is better to link it staticaly
ExternalProject_Add(extopenssl
URL https://github.com/openssl/openssl/archive/OpenSSL_1_1_0f.zip
URL https://github.com/openssl/openssl/archive/OpenSSL_1_1_1g.zip
CONFIGURE_COMMAND bash -c "./Configure linux-${ARCH} no-shared no-capieng no-dso --prefix=${EXTPREFIX} --openssldir=${EXTPREFIX}"
BUILD_IN_SOURCE 1
)
elseif (MACOSX)
# starting 10.13 macosx ships libressl instead of openssl. which will cause library not found so it is better to link it staticaly
ExternalProject_Add(extopenssl
URL https://github.com/openssl/openssl/archive/OpenSSL_1_1_0f.zip
URL https://github.com/openssl/openssl/archive/OpenSSL_1_1_1g.zip
CONFIGURE_COMMAND bash -c "./Configure darwin64-x86_64-cc no-shared no-capieng --prefix=${EXTPREFIX} --openssldir=${EXTPREFIX}"
BUILD_IN_SOURCE 1
)
Expand Down
Binary file not shown.

0 comments on commit 67672f3

Please sign in to comment.