Skip to content

Commit

Permalink
Merge pull request #7639 from bandi13/fixLibOQS
Browse files Browse the repository at this point in the history
liboqs depends on pthreads now
  • Loading branch information
douzzer authored Jun 12, 2024
2 parents 9f9a82e + 372f57e commit b0d0a1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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 ])
Expand Down

0 comments on commit b0d0a1a

Please sign in to comment.