summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/d3d1x/progs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/d3d1x/progs/Makefile b/src/gallium/state_trackers/d3d1x/progs/Makefile
index 938c77cc662..143e5316626 100644
--- a/src/gallium/state_trackers/d3d1x/progs/Makefile
+++ b/src/gallium/state_trackers/d3d1x/progs/Makefile
@@ -21,7 +21,7 @@ LIBS += ../../../winsys/sw/fbdev/libfbdev.a
endif
ifneq ($(findstring x11, $(EGL_PLATFORMS)),)
-LDADD += -lX11 -lXext -lXfixes
+LDADD += -ldrm -lX11 -lXext -lXfixes
LIBS += ../../../winsys/sw/xlib/libws_xlib.a
endif