Yes, that was exactly it. I managed to build everything just by commenting those lines out and tested that it works just fine and just the same in iOS than in everything else. This allowed me to write a conanfile that makes all the work to build all my app's dependencies in all architectures and platforms.

Thanks all for the help.

On 14/05/2019 10:23, Jan Ehrhardt wrote:
rollas...@gmail.com in
gmane.network.ssh.libssh2.devel (Mon, 13 May 2019 15:11:44 +0200):
[100%] Linking C shared library ../../lib/libssh2.dylib
ld: warning: -headerpad_max_install_names is ignored when used with
-bitcode_bundle (Xcode setting ENABLE_BITCODE=YES)
Undefined symbols for architecture armv7:
   "_ENGINE_load_builtin_engines", referenced from:
       _libssh2_init in global.c.o
       __libssh2_init_if_needed in global.c.o
   "_ENGINE_register_all_complete", referenced from:
       _libssh2_init in global.c.o
       __libssh2_init_if_needed in global.c.o
ld: symbol(s) not found for architecture armv7
libssh2 does not need the builtin engines. In a commit to master this
was fixed: https://github.com/libssh2/libssh2/issues/255

It is safe to remove the 2 conflicting lines in 1.8.2:
https://github.com/Jan-E/iSSH2/commit/6b2b61d56fc43642980aacc529c9d9d14263cebf
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to