summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-08-21 10:34:08 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-08-21 10:34:08 +0000
commit57abdd578c6e10e9a562b649644de43160c7e4d8 (patch)
tree988eb1ca3fd7c9629123919155d8015b11121429 /lib
parent3e21b95a7554ca33edabfc3c5b11ad910f64cd3c (diff)
Use -lpthread only, pointed out by ajacoutot@
Diffstat (limited to 'lib')
-rw-r--r--lib/libGL/dri/swrastg/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libGL/dri/swrastg/Makefile b/lib/libGL/dri/swrastg/Makefile
index cb3a9f241..45dde016f 100644
--- a/lib/libGL/dri/swrastg/Makefile
+++ b/lib/libGL/dri/swrastg/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2012/08/17 13:58:00 mpi Exp $
+# $OpenBSD: Makefile,v 1.3 2012/08/21 10:34:07 mpi Exp $
LIB= swrast_dri.so
@@ -41,11 +41,7 @@ LDADD= ../../gallium/libmesagallium/libmesagallium_pic.a \
../../glsl/libglsl/libglsl_pic.a \
${DRIVER_LIBS} \
../../gallium/libgallium/libgallium_pic.a \
- -L${X11BASE}/lib -lexpat -lm -lstdc++ -lc -pthread
-# XXX This is wrong but the gallium drivers depend on libpthread
-# and some bindings still fail even with the LD_PRELOAD hack when
-# starting X.
-LDADD+= -lpthread
+ -L${X11BASE}/lib -lexpat -lm -lstdc++ -lc -lpthread
DPADD= ../../gallium/libmesagallium/libmesagallium_pic.a
.include "../../gallium/Makefile.inc"