scripts: use pkg-config to locate libcrypto
authorRolf Eike Beer <eb@emlix.com>
Thu, 22 Nov 2018 15:40:49 +0000 (16:40 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 28 Jan 2021 04:25:33 +0000 (13:25 +0900)
commit2cea4a7a1885bd0c765089afc14f7ff0eb77864e
treef5e4ce7a2d6cb4137a4883e30d0bf4f2b7d4bf63
parentcf81c3abe1b84c4b82fbe771f72e6d181a3d1b7c
scripts: use pkg-config to locate libcrypto

Otherwise build fails if the headers are not in the default location. While at
it also ask pkg-config for the libs, with fallback to the existing value.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Cc: stable@vger.kernel.org # 5.6.x
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile