fwknop/extras/patches/libfiu_add_pthreads.patch

14 lines
506 B
Diff

diff --git a/configure.ac b/configure.ac
index 8fadbfb..87d5ffb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -150,7 +150,7 @@ AC_ARG_ENABLE([libfiu-support],
if test "x$want_libfiu_support" = "xyes"; then
AC_DEFINE([HAVE_LIBFIU], [1], [Define for fault injection testing support])
FKO_CHECK_COMPILER_ARG([-DFIU_ENABLE])
- FKO_CHECK_COMPILER_ARG_LDFLAGS_ONLY([-lfiu])
+ FKO_CHECK_COMPILER_ARG_LDFLAGS_ONLY([-pthread -lfiu -ldl])
fi
dnl Decide whether or not to enable C unit testing