rpi: Link with EGL if ENABLE_EGL

This commit is contained in:
Tomeu Vizoso 2013-10-24 15:38:29 +02:00 committed by Kristian Høgsberg
parent 64db37e53c
commit 1d7ad62768
1 changed files with 6 additions and 0 deletions

View File

@ -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