[Mesa-stable] [PATCH v2 10/27] loader: build libloader_dri3_helper.la only with HAVE_PLATFORM_X11

Emil Velikov emil.l.velikov at gmail.com
Thu May 4 16:29:55 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Pretty much every other place does the same.

Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/loader/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/loader/Makefile.am b/src/loader/Makefile.am
index eff85af42da..340b335ca9b 100644
--- a/src/loader/Makefile.am
+++ b/src/loader/Makefile.am
@@ -55,6 +55,7 @@ libloader_la_LIBADD += \
 	$(LIBDRM_LIBS)
 endif
 
+if HAVE_PLATFORM_X11
 if HAVE_DRI3
 noinst_LTLIBRARIES += libloader_dri3_helper.la
 
@@ -63,3 +64,4 @@ libloader_dri3_helper_la_SOURCES = \
 	loader_dri3_helper.h
 libloader_dri3_helper_la_LIBADD = $(XCB_DRI3_LIBS)
 endif
+endif
-- 
2.12.2



More information about the mesa-stable mailing list