Riddhi K in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020 13:06:50
+0530):
>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
Especially
https://github.com/Jan-E/iSSH2/commit/4262507e4512344b7173950179301c15934139bd#commitcomment-35983917
The trick is to use
CFLAGS="-target x86_64-apple-ios13.0-macabi"
See also all the comments under
https://github.com/Frugghi/iSSH2/issues/10
-- Jan _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2020-07-09