pipe-loader: link against libloader regardless of libdrm presence
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 21 Nov 2015 19:43:09 +0000 (19:43 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 Nov 2015 12:07:09 +0000 (12:07 +0000)
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.

Cc: mesa-stable@lists.freedesktop.org
Fixes: 0f39f9cb7ad "pipe-loader: add a dummy 'static' pipe-loader"
Reported-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/pipe-loader/Makefile.am

index f661897..8039a95 100644 (file)
@@ -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