Add -lpthread to GLX_SYS_LIBS (fix build with CFLAGS=-O0)

This commit is contained in:
matthieu
2025-11-11 17:39:11 +00:00
parent 9e2aa0a0df
commit 12582828c7
2 changed files with 2 additions and 0 deletions

1
xserver/configure vendored
View File

@@ -27905,6 +27905,7 @@ if test "x$DRI2" = xyes; then
case $host_os in
openbsd*)
XORG_SYS_LIBS="-lpthread"
GLX_SYS_LIBS="${GLX_SYS_LIBS} -lpthread"
;;
esac
fi

View File

@@ -1312,6 +1312,7 @@ if test "x$DRI2" = xyes; then
case $host_os in
openbsd*)
XORG_SYS_LIBS="-lpthread"
GLX_SYS_LIBS="${GLX_SYS_LIBS} -lpthread"
;;
esac
fi