summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-02-20 22:41:52 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-02-20 22:41:52 +0000
commit133bacad91d375572233230b31646aba7c686763 (patch)
treedb2a3b790c40700a78e3183b691cdbdaac2cf4b7 /lib
parent1bf6dbb5fbb8b519203ae8496e5a8778233d0043 (diff)
dri drivers need too be linked against libX11 for AIGLX (for threads stubs).
Problem found by oga@. Thanks.
Diffstat (limited to 'lib')
-rw-r--r--lib/libGL/dri/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libGL/dri/Makefile.inc b/lib/libGL/dri/Makefile.inc
index b0228e902..423ee1b75 100644
--- a/lib/libGL/dri/Makefile.inc
+++ b/lib/libGL/dri/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.3 2008/02/07 00:09:01 oga Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2008/02/20 22:41:51 matthieu Exp $
.include <bsd.own.mk>
MESA= ${.CURDIR}/../../../../dist/Mesa/src/mesa
@@ -39,7 +39,7 @@ INCLUDES = \
-I$(X11BASE)/include \
-I$(X11BASE)/include/drm
-LDADD= ../../libmesa/libmesa_pic.a -L${X11BASE}/lib -lexpat -ldrm -lm
+LDADD= ../../libmesa/libmesa_pic.a -L${X11BASE}/lib -lX11 -lexpat -ldrm -lm
.PATH: ${MESA}/drivers/dri/common
.PATH: ${MESA}/drivers/common