www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Build libssh2 for Mac Catalyst

Re: Build libssh2 for Mac Catalyst

From: Will Cosgrove <will_at_panic.com>
Date: Thu, 9 Jul 2020 11:32:31 -0700

You do have to build fat libraries of OpenSSL to target the various platforms and use lipo to mirge them. This isn’t unusual for a static library and there are many resources online which will help walk you though the process specifically for OpenSSL. As for libssh2, creating an Xcode project and building it as a framework (not a static library) is the easiest way as it manages the targets for you.


> On Jul 9, 2020, at 10:41 AM, Jan Ehrhardt <phpdev_at_ehrhardt.nl> wrote:
> Hi Will,
> Will Cosgrove in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020
> 16:11:48 +0000 (UTC)):
>> The easiest way is to make an Xcode project from the source and build
>> it. It's pretty straight forward to get building. You could also build
>> it via the command line by following the docs. You may have to install
>> some additional tools first, homebrew is the easiest way to do that.
> It is not that straightforward if you want to build libssh2 (and
> openssl) for Mac Catalyst, as per the subject.
> --
> Jan
> _______________________________________________
> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2020-07-09

the libssh2 team