summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/gbm/Makefile
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-07-17 10:41:25 -0400
committerKristian Høgsberg <[email protected]>2012-07-17 10:54:00 -0400
commit2023bf996ed5c3797233b8d70670c28e15bdff75 (patch)
tree5d297ed5570a8623bde0a3dbd0708589fbd5e70f /src/gallium/state_trackers/gbm/Makefile
parent1f2c87cc8f50d0a0ec3c9be1ddf6cf035002e5c7 (diff)
gbm: Add gbm_bo_import for gallium gbm backend
Diffstat (limited to 'src/gallium/state_trackers/gbm/Makefile')
-rw-r--r--src/gallium/state_trackers/gbm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/gbm/Makefile b/src/gallium/state_trackers/gbm/Makefile
index 1d96eb2032d..2ebdbfa105e 100644
--- a/src/gallium/state_trackers/gbm/Makefile
+++ b/src/gallium/state_trackers/gbm/Makefile
@@ -17,6 +17,10 @@ ALL_SOURCES = $(gbm_SOURCES)
GBM_OBJECTS = $(gbm_OBJECTS)
GBM_CPPFLAGS = $(gbm_INCLUDES)
+ifneq ($(findstring wayland, $(EGL_PLATFORMS)),)
+GBM_CPPFLAGS += -DHAVE_WAYLAND_PLATFORM
+endif
+
##### TARGETS #####
default: depend libgbm.a