urcrypt: updates shared-library build test, accounts for mangling

This commit is contained in:
Joe Bryan 2021-08-05 20:53:47 -04:00
parent 22c11242b9
commit 935a51def9

View File

@ -73,7 +73,7 @@ AS_IF([test "$enable_shared" == "yes"],
AC_CHECK_TOOL([NM], [nm])
AC_MSG_CHECKING([for shared libcrypto])
AS_IF(
[$NM conftest$EXEEXT | $GREP 'U SHA256' 2>&1 >/dev/null],
[$NM conftest$EXEEXT | $GREP 'U .*SHA256' 2>&1 >/dev/null],
[AC_MSG_RESULT([yes])],
[AC_MSG_ERROR([cannot find shared object for libcrypto.])])],
[AC_MSG_ERROR([unable to link libcrypto.])])