Without this, linking weston fails with:

libEGL.so: undefined reference to "wl_display_sync"
[and other wl_ functions]
---
 src/egl/drivers/dri2/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/egl/drivers/dri2/Makefile.am b/src/egl/drivers/dri2/Makefile.am
index 45f7dfa..53cbb6e 100644
--- a/src/egl/drivers/dri2/Makefile.am
+++ b/src/egl/drivers/dri2/Makefile.am
@@ -54,6 +54,7 @@ endif
 
 if HAVE_EGL_PLATFORM_WAYLAND
 libegl_dri2_la_SOURCES += platform_wayland.c
+libegl_dri2_la_LIBADD += $(WAYLAND_LIBS)
 AM_CFLAGS += -DHAVE_WAYLAND_PLATFORM
 AM_CFLAGS += $(WAYLAND_CFLAGS)
 endif
-- 
1.7.10.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to