summaryrefslogtreecommitdiff
path: root/lib/libGL
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2011-11-23 21:07:13 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2011-11-23 21:07:13 +0000
commite0b46b4864a428dc0ed9e7154df8654315c5268e (patch)
treef859c4c41dae49b2972d102d02643a608afafb9c /lib/libGL
parent80139ecb5e18979c1d24426fa7e614488fa96ce7 (diff)
Fix r200 libGL by linking with libdrm_radeon.
tested and reported by brynet; thanks! ``if it works, commit it'' matthieu@
Diffstat (limited to 'lib/libGL')
-rw-r--r--lib/libGL/dri/r200/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libGL/dri/r200/Makefile b/lib/libGL/dri/r200/Makefile
index f8d972002..81fd84490 100644
--- a/lib/libGL/dri/r200/Makefile
+++ b/lib/libGL/dri/r200/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2011/10/23 13:57:36 matthieu Exp $
+# $OpenBSD: Makefile,v 1.4 2011/11/23 21:07:12 oga Exp $
LIB= r200_dri.so
@@ -56,6 +56,8 @@ DRIVER_DEFINES = -DRADEON_R200 \
.include <bsd.xorg.mk>
+LDADD+= -ldrm_radeon
+
.PATH: $(MESA)/drivers/dri/r200
.PATH: $(MESA)/drivers/dri/radeon