Link Xorg with -lpthread, for the llvm-pipe drm. Requested by mpi@
Tested that it doesn't have any performance impact. ok ajacoutot@, matthew@ (some months ago).
This commit is contained in:
parent
f07a7ccfdc
commit
b1c72389c3
@ -1144,6 +1144,14 @@ if test "x$DRI2" = xyes; then
|
||||
fi
|
||||
AM_CONDITIONAL(DRI2_AIGLX, test "x$DRI2_AIGLX" = xyes)
|
||||
|
||||
# link Xorg with pthreads for llvm-pipe driver on OpenBSD
|
||||
if test "x$DRI2" = xyes; then
|
||||
case $host_os in
|
||||
openbsd*)
|
||||
XORG_SYS_LIBS="-lpthread"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(XINERAMA, [test "x$XINERAMA" = xyes])
|
||||
if test "x$XINERAMA" = xyes; then
|
||||
|
Loading…
Reference in New Issue
Block a user