@ -236,6 +236,7 @@ add_static_target(zlib zlib_external libz.a)
set ( openssl_system_env "" )
set ( openssl_system_env "" )
set ( openssl_arch "" )
set ( openssl_arch "" )
set ( openssl_configure_command ./config )
set ( openssl_configure_command ./config )
set ( openssl_flags "CFLAGS=${deps_CFLAGS}" )
if ( CMAKE_CROSSCOMPILING )
if ( CMAKE_CROSSCOMPILING )
if ( ARCH_TRIPLET STREQUAL x86_64-w64-mingw32 )
if ( ARCH_TRIPLET STREQUAL x86_64-w64-mingw32 )
set ( openssl_arch mingw64 )
set ( openssl_arch mingw64 )
@ -245,7 +246,8 @@ if(CMAKE_CROSSCOMPILING)
set ( openssl_system_env RC= ${ CMAKE_RC_COMPILER } AR= ${ ARCH_TRIPLET } -ar RANLIB= ${ ARCH_TRIPLET } -ranlib )
set ( openssl_system_env RC= ${ CMAKE_RC_COMPILER } AR= ${ ARCH_TRIPLET } -ar RANLIB= ${ ARCH_TRIPLET } -ranlib )
elseif ( ANDROID )
elseif ( ANDROID )
set ( openssl_arch android- ${ android_machine } )
set ( openssl_arch android- ${ android_machine } )
set ( openssl_system_env LD= ${ deps_ld } RANLIB= ${ deps_ranlib } AR= ${ deps_ar } )
set ( openssl_system_env LD= ${ deps_ld } RANLIB= ${ deps_ranlib } AR= ${ deps_ar } ANDROID_NDK_ROOT= ${ CMAKE_ANDROID_NDK } "PATH=${CMAKE_ANDROID_NDK}/toolchains/llvm/prebuilt/linux-x86_64/bin:$ENV{PATH}" )
list ( APPEND openssl_flags "CPPFLAGS=-D__ANDROID_API__=${ANDROID_API}" )
set ( openssl_extra_opts no-asm )
set ( openssl_extra_opts no-asm )
elseif ( ARCH_TRIPLET STREQUAL mips64-linux-gnuabi64 )
elseif ( ARCH_TRIPLET STREQUAL mips64-linux-gnuabi64 )
set ( openssl_arch linux-mips64 )
set ( openssl_arch linux-mips64 )
@ -274,8 +276,9 @@ build_external(openssl
- - p r e f i x = $ { D E P S _ D E S T D I R } - - l i b d i r = l i b $ { o p e n s s l _ e x t r a _ o p t s }
- - p r e f i x = $ { D E P S _ D E S T D I R } - - l i b d i r = l i b $ { o p e n s s l _ e x t r a _ o p t s }
n o - s h a r e d n o - c a p i e n g n o - d s o n o - d t l s 1 n o - e c _ n i s t p _ 6 4 _ g c c _ 1 2 8 n o - g o s t
n o - s h a r e d n o - c a p i e n g n o - d s o n o - d t l s 1 n o - e c _ n i s t p _ 6 4 _ g c c _ 1 2 8 n o - g o s t
n o - m d 2 n o - r c 5 n o - r d r a n d n o - r f c 3 7 7 9 n o - s c t p n o - s s l - t r a c e n o - s s l 3
n o - m d 2 n o - r c 5 n o - r d r a n d n o - r f c 3 7 7 9 n o - s c t p n o - s s l - t r a c e n o - s s l 3
n o - s t a t i c - e n g i n e n o - t e s t s n o - w e a k - s s l - c i p h e r s n o - z l i b n o - z l i b - d y n a m i c "C F L A G S = $ { d e p s _ C F L A G S } "
n o - s t a t i c - e n g i n e n o - t e s t s n o - w e a k - s s l - c i p h e r s n o - z l i b n o - z l i b - d y n a m i c ${ o p e n s s l _ f l a g s }
$ { o p e n s s l _ a r c h }
$ { o p e n s s l _ a r c h }
B U I L D _ C O M M A N D $ { C M A K E _ C O M M A N D } - E e n v $ { o p e n s s l _ s y s t e m _ e n v } $ { _ m a k e }
I N S T A L L _ C O M M A N D $ { _ m a k e } i n s t a l l _ s w
I N S T A L L _ C O M M A N D $ { _ m a k e } i n s t a l l _ s w
B U I L D _ B Y P R O D U C T S
B U I L D _ B Y P R O D U C T S
$ { D E P S _ D E S T D I R } / l i b / l i b s s l . a $ { D E P S _ D E S T D I R } / l i b / l i b c r y p t o . a
$ { D E P S _ D E S T D I R } / l i b / l i b s s l . a $ { D E P S _ D E S T D I R } / l i b / l i b c r y p t o . a