summaryrefslogtreecommitdiffstats
path: root/src/gbm/Makefile.am
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-07-13 11:19:24 -0400
committerKristian Høgsberg <[email protected]>2012-07-16 16:29:15 -0400
commit44f066b9ffb7749e872c9cc44ab4d6e2973c2372 (patch)
tree9c2a9bd9a77bfc6f67c37117ba268cba091032aa /src/gbm/Makefile.am
parent43ccded1e17147c0b705152add11875b560b1c43 (diff)
gbm: Add new gbm_bo_import entry point
This generalizes and replaces gbm_bo_create_for_egl_image. gbm_bo_import will create a gbm_bo from either an EGLImage or a struct wl_buffer.
Diffstat (limited to 'src/gbm/Makefile.am')
-rw-r--r--src/gbm/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
index dede5bc1069..5ca28395a17 100644
--- a/src/gbm/Makefile.am
+++ b/src/gbm/Makefile.am
@@ -20,6 +20,10 @@ libgbm_la_SOURCES = \
libgbm_la_LDFLAGS = -version-info 1:0
libgbm_la_LIBADD = $(LIBUDEV_LIBS) $(DLOPEN_LIBS)
+if HAVE_EGL_PLATFORM_WAYLAND
+AM_CPPFLAGS = -DHAVE_WAYLAND_PLATFORM
+endif
+
if HAVE_DRI
noinst_LTLIBRARIES = libgbm_dri.la
libgbm_dri_la_SOURCES = \