mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
configure: Link with pthread on FreeBSD
This commit is contained in:
parent
4b43920044
commit
67d61bb9f8
@ -532,6 +532,13 @@ case "$host" in
|
||||
CXXFLAGS="$CXXFLAGS -D_GLIBCXX_USE_C99=1"
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl Fix for FreeBSD not automatically linking to pthread for std::thread
|
||||
case "$host" in
|
||||
*-*-freebsd*)
|
||||
LIBS="$LIBS -lpthread"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(MACOSX, test x"$macosx" = x"1")
|
||||
|
Loading…
x
Reference in New Issue
Block a user