d3d1x: link to libdrm for X11 platform too
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 14:15:44 +0000 (16:15 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 20:20:52 +0000 (22:20 +0200)
Thanks to Xavier Chantry.

src/gallium/state_trackers/d3d1x/progs/Makefile

index 938c77cc662b000f449f6f3b1e0c0eb6cf2eb8f9..143e5316626553a08e22617450bce08e9adb4de7 100644 (file)
@@ -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