From 45411e3fc609220e707dff9da1dbd749de0fff5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Mon, 26 Feb 2024 19:10:14 +0000 Subject: [PATCH] build: improve libcrypto library detection * configure.ac: Match literal '.' in the file name to avoid potential mismatches with similarly named libs. Reported by Andreas Schwab --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index eb6c33aa45..fe8408a06c 100644 --- a/configure.ac +++ b/configure.ac @@ -373,7 +373,7 @@ AS_CASE([$LIB_CRYPTO], [# readelf works with cross-builds; ldd works on more platforms. LIBCRYPTO_SONAME="`(readelf -d conftest$EXEEXT || ldd conftest$EXEEXT ) 2>/dev/null | - sed -n 's/.*\(libcrypto.so.[[.0-9]]*\).*/\1/p'`" + sed -n 's/.*\(libcrypto\.so\.[[.0-9]]*\).*/\1/p'`" AS_CASE([$LIBCRYPTO_SONAME], [*libcrypto*], [utils_cv_dlopen_libcrypto=yes])]) -- 2.47.2