We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e8b1b commit 5ac6ab7Copy full SHA for 5ac6ab7
configure.ac
@@ -336,9 +336,9 @@ AM_CONDITIONAL([BUILD_OMEMO], [false])
336
if test "x$enable_omemo" != xno; then
337
OMEMO_LIBS=""
338
PKG_CHECK_MODULES([libsignal], [libsignal-protocol-c >= 2.3.2],
339
- [OMEMO_LIBS="-lsignal-protocol-c"
340
- AC_CHECK_LIB([gcrypt], [gcry_md_extract],
341
- [OMEMO_LIBS="-lgcrypt $OMEMO_LIBS"
+ [OMEMO_LIBS="$libsignal_LIBS"
+ PKG_CHECK_MODULES([gcrypt], [libgcrypt >= 1.7.0],
+ [OMEMO_LIBS="$gcrypt_LIBS $OMEMO_LIBS"
342
AM_CONDITIONAL([BUILD_OMEMO], [true])],
343
[AC_MSG_NOTICE([gcrypt >= 1.7.0 not found, OMEMO support not enabled])])],
344
[AC_MSG_NOTICE([libsignal-protocol-c >= 2.3.2 not found, OMEMO support not enabled])])
0 commit comments