[Mesa-dev] [PATCH] pipe-loader: link against libloader regardless of libdrm presence

Emil Velikov emil.l.velikov at gmail.com
Sat Nov 21 11:43:09 PST 2015


Whether or not the loader has libdrm support is up-to it. Anyone using
the loader should just include it whenever they depend on it.

Reported-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Tested-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/auxiliary/pipe-loader/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/pipe-loader/Makefile.am b/src/gallium/auxiliary/pipe-loader/Makefile.am
index f661897..8039a95 100644
--- a/src/gallium/auxiliary/pipe-loader/Makefile.am
+++ b/src/gallium/auxiliary/pipe-loader/Makefile.am
@@ -37,12 +37,12 @@ libpipe_loader_static_la_SOURCES += \
 libpipe_loader_dynamic_la_SOURCES += \
 	$(DRM_SOURCES)
 
+endif
+
 libpipe_loader_static_la_LIBADD = \
 	$(top_builddir)/src/loader/libloader.la
 
 libpipe_loader_dynamic_la_LIBADD = \
 	$(top_builddir)/src/loader/libloader.la
 
-endif
-
 EXTRA_DIST = SConscript
-- 
2.6.2



More information about the mesa-dev mailing list