forked from wolfSSL/wolfssl
Address PR suggestions
This commit is contained in:
@@ -1129,7 +1129,8 @@ AC_ARG_WITH([liboqs],
|
|||||||
[
|
[
|
||||||
AS_IF([ test "$ENABLED_EXPERIMENTAL" != "yes" ],[ AC_MSG_ERROR([LIBOQS requires --enable-experimental.]) ])
|
AS_IF([ test "$ENABLED_EXPERIMENTAL" != "yes" ],[ AC_MSG_ERROR([LIBOQS requires --enable-experimental.]) ])
|
||||||
AC_MSG_CHECKING([for liboqs])
|
AC_MSG_CHECKING([for liboqs])
|
||||||
LIBS="$LIBS -loqs -lpthread"
|
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 ])
|
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