Thomas Petazzoni 4839836a12 tools: use pkg-config when available to get SSL flags
Instead of hardcoding -lssl -lcrypto as the flags needed to build
mkimage with FIT signature enabled, use pkg-config when
available. This allows to properly support cases where static linking
is used, which requires linking with -lz, since OpenSSL uses zlib
internally.

We gracefully fallback on the previous behavior of hardcoding -lssl
-lcrypto if pkg-config is not available or fails with an error.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-28 08:18:19 -04:00
..
2015-05-08 17:24:17 -04:00
2015-05-15 19:20:47 +02:00
2014-11-25 07:11:17 -07:00
2015-01-29 13:38:41 -05:00
2015-05-08 17:24:17 -04:00
2009-11-24 23:43:18 +01:00
2009-04-28 01:16:46 +02:00
2015-05-08 17:24:17 -04:00