summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/egl/Makefile.am2
-rw-r--r--src/intel/vulkan/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am
index 6953d44e60..664282a574 100644
--- a/src/egl/Makefile.am
+++ b/src/egl/Makefile.am
@@ -49,7 +49,7 @@ libEGL_la_LDFLAGS = \
dri2_backend_FILES =
dri3_backend_FILES =
-if HAVE_EGL_PLATFORM_X11
+if HAVE_PLATFORM_X11
AM_CFLAGS += -DHAVE_X11_PLATFORM
AM_CFLAGS += $(XCB_DRI2_CFLAGS)
libEGL_la_LIBADD += $(XCB_DRI2_LIBS)
diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am
index bee8f5be0c..c1f2af6f53 100644
--- a/src/intel/vulkan/Makefile.am
+++ b/src/intel/vulkan/Makefile.am
@@ -87,7 +87,7 @@ libanv_gen9_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=90
libanv_gen9_la_SOURCES = $(GEN9_FILES)
-if HAVE_EGL_PLATFORM_X11
+if HAVE_PLATFORM_X11
AM_CPPFLAGS += \
$(XCB_DRI3_CFLAGS) \
-DVK_USE_PLATFORM_XCB_KHR