summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-05-31 11:14:46 +0200
committerKristian Høgsberg <[email protected]>2011-05-31 15:13:37 -0400
commita7cd65fb38a3ece6202d3675a543785c10f0932a (patch)
tree570fd41aa9c2f3b86c61fdb98e554cf936c3fe70 /src/gallium/targets/egl
parentaa87a938fb4cec30dad48642e8d12810e947bc8b (diff)
st/egl: Fix udev linkage when egl_dri2 is not build
Diffstat (limited to 'src/gallium/targets/egl')
-rw-r--r--src/gallium/targets/egl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/egl/Makefile b/src/gallium/targets/egl/Makefile
index a455b61af98..dd566bd9a06 100644
--- a/src/gallium/targets/egl/Makefile
+++ b/src/gallium/targets/egl/Makefile
@@ -52,7 +52,7 @@ egl_LIBS += $(TOP)/src/gallium/winsys/sw/wayland/libws_wayland.a
egl_LIBS += $(TOP)/src/egl/wayland/wayland-drm/libwayland-drm.a
endif
ifneq ($(findstring drm, $(EGL_PLATFORMS)),)
-egl_SYS += $(LIBDRM_LIB)
+egl_SYS += $(LIBUDEV_LIBS) $(LIBDRM_LIB)
endif
ifneq ($(findstring fbdev, $(EGL_PLATFORMS)),)
egl_LIBS += $(TOP)/src/gallium/winsys/sw/fbdev/libfbdev.a