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-04-23 12:31:54 -06:00
2014-02-19 11:07:49 -05:00
2015-05-08 17:24:17 -04:00
2014-02-19 11:07:50 -05:00
2014-01-24 16:59:07 -05:00
2015-05-15 19:20:47 +02:00
2013-07-24 09:44:38 -04:00
2013-06-22 15:25:28 +02:00
2015-04-23 12:35:50 -06:00
2014-02-25 11:01:28 -05:00
2014-11-25 07:11:17 -07:00
2015-01-29 13:38:41 -05:00
2013-10-14 16:06:53 -04:00
2014-05-27 00:10:49 +02:00
2015-01-29 13:38:41 -05:00
2013-07-24 09:44:38 -04:00
2013-08-10 10:48:00 +02:00
2015-01-29 13:38:41 -05:00
2015-01-29 13:38:41 -05:00
2014-06-19 11:19:04 -04:00
2013-07-24 09:44:38 -04:00
2014-03-21 16:40:38 -04:00
2014-06-19 11:19:02 -04:00
2014-06-11 16:25:46 -04:00
2014-06-11 16:25:46 -04:00
2015-01-29 13:38:41 -05:00
2014-08-14 11:20:24 +02:00
2013-07-24 09:44:38 -04:00
2014-09-24 18:30:28 -04:00
2013-07-24 09:44:38 -04:00
2010-01-26 00:07:13 +01:00
2014-04-17 17:24:38 -04:00
2015-01-29 13:38:41 -05:00
2015-01-29 13:38:41 -05:00
2015-01-13 07:24:58 -08:00
2014-12-13 22:32:04 -07:00
2014-08-14 11:20:01 +02:00
2015-02-16 12:41:41 -05:00
2015-05-08 17:24:17 -04:00
2013-10-14 16:06:54 -04:00
2009-11-24 23:43:18 +01:00
2015-02-10 10:40:43 -05:00
2015-02-10 12:48:49 +01:00
2010-07-25 15:17:23 -04:00
2015-03-05 22:08:59 +01:00
2013-07-24 09:44:38 -04:00
2014-10-23 09:59:21 -04:00
2015-04-10 14:23:26 +02:00
2015-05-28 08:18:19 -04:00
2014-12-18 17:26:08 -07:00
2015-02-05 22:16:42 -07:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:45:01 -04:00
2015-03-28 12:07:47 -04:00
2013-12-30 16:50:35 +09:00
2015-01-29 13:38:41 -05:00
2014-06-19 11:19:04 -04:00
2015-02-16 20:14:01 +01:00
2015-05-27 08:39:16 +09:00
2013-07-24 09:44:38 -04:00
2015-05-24 14:26:54 -05:00
2015-01-29 13:38:41 -05:00
2014-11-20 10:13:45 +01:00
2009-04-28 01:16:46 +02:00
2012-09-24 13:17:24 -05:00
2015-01-29 13:38:41 -05:00
2014-04-17 17:24:38 -04:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:45:01 -04:00
2014-06-05 14:38:38 -04:00
2014-06-05 14:38:38 -04:00
2015-01-29 13:38:41 -05:00
2013-10-14 16:06:53 -04:00
2015-05-08 17:24:17 -04:00
2014-02-13 15:16:47 +01:00
2015-01-29 13:38:41 -05:00
2015-01-29 13:38:41 -05:00
2013-10-14 16:06:53 -04:00
2014-06-19 11:19:04 -04:00
2011-07-31 23:25:41 +09:00