loader: build libloader_dri3_helper.la only with HAVE_PLATFORM_X11
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 3 May 2017 15:20:49 +0000 (16:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 May 2017 18:44:22 +0000 (19:44 +0100)
Pretty much every other place does the same.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/loader/Makefile.am

index eff85af42da5700548fe9f8a3ade28fb791a153d..340b335ca9b948918fe86b56e5bc36b94e331003 100644 (file)
@@ -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