summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-02-21 05:04:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-02-21 05:04:30 +0000
commite6769140bcdb5792d0616f42f6e9cc829d2b5084 (patch)
tree50f52bcd6709e280d70a72f9a372fcac87207012 /lib
parent06eb58b42a93e0c77a7622569891846925c20400 (diff)
Don't try to use pthread-stubs on OpenBSD.
A similiar change is already committed upstream.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mesa/configure2
-rw-r--r--lib/mesa/configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/mesa/configure b/lib/mesa/configure
index edbd2e1ca..ccdc5b351 100755
--- a/lib/mesa/configure
+++ b/lib/mesa/configure
@@ -20900,7 +20900,7 @@ fi
test -z "$PTHREAD_LIBS" && PTHREAD_LIBS="-lpthread"
case "$host_os" in
-cygwin* )
+cygwin* | openbsd*)
pthread_stubs_possible="no"
;;
* )
diff --git a/lib/mesa/configure.ac b/lib/mesa/configure.ac
index 6120ab1b2..429640ddc 100644
--- a/lib/mesa/configure.ac
+++ b/lib/mesa/configure.ac
@@ -839,7 +839,7 @@ test -z "$PTHREAD_LIBS" && PTHREAD_LIBS="-lpthread"
dnl pthread-stubs is mandatory on targets where it exists
case "$host_os" in
-cygwin* )
+cygwin* | openbsd*)
pthread_stubs_possible="no"
;;
* )