summaryrefslogtreecommitdiffstats
path: root/configs/linux-dri
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2005-08-19 20:20:03 +0000
committerAdam Jackson <[email protected]>2005-08-19 20:20:03 +0000
commit8fcd1e028750ec7669aa311dfd63d86767097feb (patch)
tree94877d24574a9fc54d85579bcd5834a64ef436ce /configs/linux-dri
parent2ae5645115124ecc97bf4a0ba9f5542cf2409845 (diff)
Convert libGL and DRI drivers to require libdrm.
libdrm can be had from: http://people.freedesktop.org/~ajax/libdrm/
Diffstat (limited to 'configs/linux-dri')
-rw-r--r--configs/linux-dri8
1 files changed, 5 insertions, 3 deletions
diff --git a/configs/linux-dri b/configs/linux-dri
index 9817a0e762d..293f2e789d5 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -38,8 +38,10 @@ ASM_SOURCES =
# Library/program dependencies
EXTRA_LIB_PATH=-L/usr/X11R6/lib
-DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl
-GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl
+LIBDRM_LIB = `pkg-config --libs libdrm` -ldrm
+DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
+GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \
+ $(LIBDRM_LIB)
# This is now 0 by default since it seems to confuse the hell out of people
@@ -62,5 +64,5 @@ WINDOW_SYSTEM=dri
# gamma are missing because they have not been converted to use the new
# interface.
-DRI_DIRS = dri_client i810 i830 i915 mach64 mga r128 r200 r300 radeon s3v \
+DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 r300 radeon s3v \
savage sis tdfx trident unichrome ffb