summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-05-30 10:50:52 +0200
committerBenjamin Franzke <[email protected]>2011-06-23 21:07:17 +0200
commite5fc4c81ce5aa261e330977f1a672838cd186cdb (patch)
tree36daf4154bcc3aeccd2d33a1e6914968dc7a9356 /src/egl/main
parent48d4a001b3faaa707716ea6bd93dd98b487768ce (diff)
egl_dri2: Hookup gbm as drm platform
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile
index 6c4a392760f..775fbbe178b 100644
--- a/src/egl/main/Makefile
+++ b/src/egl/main/Makefile
@@ -61,9 +61,13 @@ LOCAL_LIBS += $(TOP)/src/egl/drivers/dri2/libegl_dri2.a
ifneq ($(findstring x11, $(EGL_PLATFORMS)),)
EGL_LIB_DEPS += $(XCB_DRI2_LIBS)
endif
+ifneq ($(findstring drm, $(EGL_PLATFORMS)),)
+EGL_LIB_DEPS += -lgbm
+endif
EGL_LIB_DEPS += $(LIBUDEV_LIBS) $(DLOPEN_LIBS) $(LIBDRM_LIB) $(WAYLAND_LIBS)
endif
+
ifneq ($(findstring wayland, $(EGL_PLATFORMS)),)
LOCAL_LIBS += $(TOP)/src/egl/wayland/wayland-drm/libwayland-drm.a
endif