Subject: Re: does libssh2 build for iOS 12.2 (with OpenSSL 1.1.1a or 1.1.1b) and XCode 10.2?

Re: does libssh2 build for iOS 12.2 (with OpenSSL 1.1.1a or 1.1.1b) and XCode 10.2?

From: Jan Ehrhardt <phpdev_at_ehrhardt.nl>
Date: Tue, 14 May 2019 10:12:13 +0200

rollastre_at_gmail.com in
gmane.network.ssh.libssh2.devel (Mon, 13 May 2019 15:11:44 +0200):
>I have managed to build libssh2 in a variety of environments (android
>clang, linux gcc, windows mvc, macos clang) and I am completely unable
>to build it for iOS 12.2 (didn't try to do it in an older version) with
>the specs of the subject (OpenSSL 1.1.1a or 1.1.1b, XCode 10.2.
>
>I doesn't matter what I try. Building it manually, using this iSSH2
>script (https://github.com/Frugghi/iSSH2
><https://github.com/Frugghi/iSSH2>), etc.

For OpenSSL 1.1.1 you will have to patch libssh2 (1.8.2):
https://github.com/Jan-E/iSSH2/commit/6b2b61d56fc43642980aacc529c9d9d14263cebf
or use my fork at https://github.com/Jan-E/iSSH2/tree/fix-openssl-1.1.1

But then it compiles fine with
./iSSH2.sh --openssl=1.1.1b --libssh2=1.8.2

See https://github.com/Frugghi/iSSH2/issues/7#issuecomment-477787612 for
the output of the build process.

-- 
Jan
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2019-05-14