egl: Add EGL_WL_bind_wayland_display
[mesa.git] / src / egl / drivers / dri2 / Makefile
index 89e9dd7970a46c3b6d188a3c25d3f28e892a54b8..eac599e6745fa896948ef97707103bfdc1209388 100644 (file)
@@ -27,8 +27,10 @@ endif
 ifneq ($(findstring wayland, $(EGL_PLATFORMS)),)
 EGL_SOURCES += platform_wayland.c
 EGL_INCLUDES += -DHAVE_WAYLAND_PLATFORM $(WAYLAND_CFLAGS) \
-               -I$(TOP)/src/egl/wayland
-EGL_LIBS += $(WAYLAND_LIBS)
+               -I$(TOP)/src/egl/wayland \
+               -I$(TOP)/src/egl/wayland/wayland-drm
+EGL_LIBS += $(WAYLAND_LIBS) \
+           $(TOP)/src/egl/wayland/wayland-drm/libwayland-drm.a
 endif
 
 include ../Makefile.template