mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 15:29:07 +00:00
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
This commit is contained in:
parent
feda512e97
commit
45411e3fc6
@ -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])])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user