summaryrefslogtreecommitdiff
path: root/lib/libGL
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-01-27 07:07:44 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-01-27 07:07:44 +0000
commitbd3a824caa808aaa2b5902e46e164c17e7e4138d (patch)
tree2594d5460cf9531444693818a27388087b460790 /lib/libGL
parentb9a908523bbb34101380fe20b4cc22064d29b16f (diff)
radeon_dri.so needs the radeon_drm library, like the other
Mesa radeon drivers. From oga@.
Diffstat (limited to 'lib/libGL')
-rw-r--r--lib/libGL/dri/radeon/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libGL/dri/radeon/Makefile b/lib/libGL/dri/radeon/Makefile
index e0aa4fca6..cce2241a4 100644
--- a/lib/libGL/dri/radeon/Makefile
+++ b/lib/libGL/dri/radeon/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2011/10/23 13:57:36 matthieu Exp $
+# $OpenBSD: Makefile,v 1.4 2012/01/27 07:07:43 matthieu Exp $
LIB= radeon_dri.so
@@ -50,7 +50,8 @@ DRIVER_DEFINES = -DRADEON_R100 -DRADEON_COMMON=0 \
-I$(MESA)/drivers/dri/radeon/server \
-I$(MESA)/drivers/dri/radeon
-
.include <bsd.xorg.mk>
+LDADD+= -ldrm_radeon
+
.PATH: $(MESA)/drivers/dri/radeon