[PATCH 1/5] rpi: Link with EGL if ENABLE_EGL
Tomeu Vizoso
tomeu at tomeuvizoso.net
Thu Oct 24 15:38:29 CEST 2013
---
src/Makefile.am | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index 4224495..9925129 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -224,6 +224,12 @@ rpi_backend_la_SOURCES = \
evdev.c \
evdev.h \
evdev-touchpad.c
+
+if ENABLE_EGL
+rpi_backend_la_LIBADD += $(EGL_LIBS)
+rpi_backend_la_CFLAGS += $(EGL_CFLAGS)
+endif
+
endif
if ENABLE_HEADLESS_COMPOSITOR
--
1.8.3.1
More information about the wayland-devel
mailing list