mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #7639 from bandi13/fixLibOQS
liboqs depends on pthreads now
This commit is contained in:
@ -1130,6 +1130,7 @@ AC_ARG_WITH([liboqs],
|
||||
AS_IF([ test "$ENABLED_EXPERIMENTAL" != "yes" ],[ AC_MSG_ERROR([LIBOQS requires --enable-experimental.]) ])
|
||||
AC_MSG_CHECKING([for liboqs])
|
||||
LIBS="$LIBS -loqs"
|
||||
AM_CFLAGS="$AM_CFLAGS -pthread"
|
||||
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <oqs/common.h>]], [[ OQS_init(); ]])], [ liboqs_linked=yes ],[ liboqs_linked=no ])
|
||||
|
||||
|
Reference in New Issue
Block a user