Skip to content

Commit

Permalink
added libs rt and pthreads (#1673)
Browse files Browse the repository at this point in the history
* added libs rt and pthreads
  • Loading branch information
brtnfld authored Apr 22, 2022
1 parent 0b02752 commit 30a084a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3231,6 +3231,10 @@ if test "X$SUBFILING_VFD" = "Xyes"; then
AC_MSG_ERROR([Subfiling VFD requires atomic operations support. C11 stdatomic.h NOT available.])
fi

# Checks for libraries.
AC_SEARCH_LIBS([shm_open], [rt])
AC_CHECK_LIB([pthread], [pthread_self],[], [echo "Error: Required library pthread not found." && exit 1])

else
AC_MSG_RESULT([no])
fi
Expand Down

0 comments on commit 30a084a

Please sign in to comment.