From: Emil Velikov Date: Wed, 3 May 2017 15:20:49 +0000 (+0100) Subject: loader: build libloader_dri3_helper.la only with HAVE_PLATFORM_X11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d80d6d662e4199e9a4ec9d924007f8fb0b91b444;p=mesa.git 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 --- 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