added the extras/patches/ directory (initial patch to link against pthreads for libfiu support)

This commit is contained in:
Michael Rash 2015-03-22 22:02:12 -04:00
parent 211f1fb5a2
commit 2414393c94

View File

@ -0,0 +1,13 @@
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