From: Michel Dänzer <michel.daen...@amd.com>

Can fail to link otherwise if libdrm is in a non-standard location.

Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
---
 src/gallium/targets/opencl/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/targets/opencl/Makefile.am 
b/src/gallium/targets/opencl/Makefile.am
index 99532f06d8..43e904d55b 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -19,6 +19,7 @@ lib@OPENCL_LIBNAME@_la_LIBADD = \
        $(top_builddir)/src/gallium/state_trackers/clover/libclover.la \
        $(top_builddir)/src/gallium/auxiliary/libgallium.la \
        $(top_builddir)/src/util/libmesautil.la \
+       $(LIBDRM_LIBS) \
        $(LIBELF_LIBS) \
        $(DLOPEN_LIBS) \
        -lclangCodeGen \
-- 
2.11.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to