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 <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
Emil Velikov 2017-05-03 16:20:49 +01:00 committed by Emil Velikov
parent a24dc36dde
commit d80d6d662e
1 changed files with 2 additions and 0 deletions

View 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