Skip to content

Commit b0d0a1a

Browse files
authored
Merge pull request #7639 from bandi13/fixLibOQS
liboqs depends on pthreads now
2 parents 9f9a82e + 372f57e commit b0d0a1a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@ AC_ARG_WITH([liboqs],
11301130
AS_IF([ test "$ENABLED_EXPERIMENTAL" != "yes" ],[ AC_MSG_ERROR([LIBOQS requires --enable-experimental.]) ])
11311131
AC_MSG_CHECKING([for liboqs])
11321132
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)