summaryrefslogtreecommitdiffstats
path: root/src/loader
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-05-03 16:20:49 +0100
committerEmil Velikov <[email protected]>2017-05-19 19:44:22 +0100
commitd80d6d662e4199e9a4ec9d924007f8fb0b91b444 (patch)
tree9741f5f7b1446574f59ca361d0be24425cd10043 /src/loader
parenta24dc36dde0e7f4a654845d7b687fca3140f6e55 (diff)
loader: build libloader_dri3_helper.la only with HAVE_PLATFORM_X11
Pretty much every other place does the same. Cc: [email protected] Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/loader')
-rw-r--r--src/loader/Makefile.am2
1 files changed, 2 insertions, 0 deletions
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