summaryrefslogtreecommitdiffstats
path: root/configs/linux-dri
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2004-10-25 21:20:29 +0000
committerAdam Jackson <[email protected]>2004-10-25 21:20:29 +0000
commit312c68fab3c179c6173bd25aae07be09d299ce20 (patch)
tree05f989aa355a5234d5391aa5553e22bef4e529ca /configs/linux-dri
parent7badefa6c4918b5c3198a4cd798556c9f52adde6 (diff)
Add DRI_LIB_DEPS for the DRI drivers to link against. Remove expat from the
link list for libGL itself under DRI configurations, since the XML parsing code is in the drivers themselves.
Diffstat (limited to 'configs/linux-dri')
-rw-r--r--configs/linux-dri3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/linux-dri b/configs/linux-dri
index 0d5210d3c1c..a1c1c8ef4df 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -26,7 +26,8 @@ CXXFLAGS = -DDRI_NEW_INTERFACE_ONLY $(WARN_FLAGS) -g $(OPT_FLAGS) -fPIC \
ASM_SOURCES =
# Library/program dependencies
-GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -lexpat -ldl
+DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl
+GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -ldl
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11