libcrypto/openssl : Which to use

Josef Söntgen josef.soentgen at ...1...
Wed May 6 10:10:47 CEST 2015


Hello Aditya,

* Aditya Kousik <adit267.kousik at ...9...> [2015-05-05 11:45:29 -0700]:

> To use libcrypto++, I found online that openssl will suffice. But while
> there is a port file for both libraries, there's no openssl.mk in lib/mk.
> Grepping the mk files I saw a line in libcrypto.inc which calls
> select_from_ports,openssl. So, is it the case that we prepare_port for
> openssl but add LIBS += libcrypto in our target.mk files?

Yes, libcrypto as well as libssl are part of OpenSSL, so you have to
prepare it when you want to use one of these libraries.

Regards
Josef




More information about the users mailing list