From d80d6d662e4199e9a4ec9d924007f8fb0b91b444 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 3 May 2017 16:20:49 +0100 Subject: [PATCH] loader: build libloader_dri3_helper.la only with HAVE_PLATFORM_X11 Pretty much every other place does the same. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom --- 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.30.2