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: Jan Ehrhardt <phpdev_at_ehrhardt.nl>
Date: Thu, 09 Jul 2020 19:34:09 +0200

Riddhi K in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020 13:06:50
>I would like to build libssh2 library for Mac OS. Can you provide the guideline for this?
>Looking forward for your reply.

See https://github.com/Jan-E/iSSH2/tree/catalyst

The trick is to use
CFLAGS="-target x86_64-apple-ios13.0-macabi"

See also all the comments under

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

the libssh2 team