You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use AM_PATH_LIBGCRYPT instead of AC_CHECK_LIB for checking
libgcrypt, with doesn't add -lgcrypt to the globac $LIBS.
Fixes: #1365
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
configure.ac contains:
The
[]
mean that on./configure --with-crypro=gcrypt
puts in the LIBS variable-lgcrypt
and then everything is linked with libgcrypt.Do not link libtss2-mu.so, libtss2-sys.so, libtss2-tcti-mssim.so and libtss2-tcti-device.so with libgrypt, as they don’t use any symbols from there.
Consider cheching for libgrypt using AM_PATH_LIBGCRYPT.
The text was updated successfully, but these errors were encountered: