scripts: use pkg-config to locate libcrypto
authorRolf Eike Beer <eb@emlix.com>
Thu, 22 Nov 2018 15:40:49 +0000 (16:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2021 08:29:17 +0000 (09:29 +0100)
commitee23b9329ec261b5144259f42b1b4eee543d0cb6
tree55c8d2a6f70e73de0a14137420839a4181f48871
parent0fe48a40ac63ef8e56ae998006a4a48ea1b27783
scripts: use pkg-config to locate libcrypto

commit 2cea4a7a1885bd0c765089afc14f7ff0eb77864e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/Makefile