Hi!
In theory, is it possible to build cURL with SSH2-support as a static bin with
no depedencies to dylibs?
This is my configure command and I am using —disable-shared and —enable-static:
./configure --disable-shared --with-darwinssl --enable-threaded-resolver
--enable-static --with-libssh2=/usr/local --disable-dict --disable-telnet
--disable-pop3 --disable-rtsp --disable-imap --disable-smtp --disable-gopher
--disable-ldap --without-zlib --without-libidn
When I run otool -L curl on the compiled binary I can see that it’s linking to
/usr/local/lib/libssh2.1.dylib even I have specified —enable-static and
—disable-shared.
Is it possible?
Or do I have to ship cURL with the dylib in the app-bundle and change the link
in my custom curl-build with install_name_tool?
Any hint are appreciated!
Regards,
Jan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html