Skip to content

Commit 372f57e

Browse files
author
Andras Fekete
committed
Address PR suggestions
1 parent 211742b commit 372f57e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

configure.ac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,8 @@ AC_ARG_WITH([liboqs],
11291129
[
11301130
AS_IF([ test "$ENABLED_EXPERIMENTAL" != "yes" ],[ AC_MSG_ERROR([LIBOQS requires --enable-experimental.]) ])
11311131
AC_MSG_CHECKING([for liboqs])
1132-
LIBS="$LIBS -loqs -lpthread"
1132+
LIBS="$LIBS -loqs"
1133+
AM_CFLAGS="$AM_CFLAGS -pthread"
11331134
11341135
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <oqs/common.h>]], [[ OQS_init(); ]])], [ liboqs_linked=yes ],[ liboqs_linked=no ])
11351136

0 commit comments

Comments
 (0)