gallium: work around libtool relink issue for libdrm
authorRoman Gilg <subdiff@gmail.com>
Mon, 5 Mar 2018 16:41:44 +0000 (17:41 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 12 Mar 2018 14:49:07 +0000 (14:49 +0000)
commitf94597f554d284e8bedf0d00e3ad9e805306548f
treeb53206dd4f4b336558bd96458e01fd1f472e0086
parent678ba53240e97942e282b6ef00d861c50321c9e9
gallium: work around libtool relink issue for libdrm

This is similar to commit 90633079. libtool links first to system directories
instead of custom locations of libdrm on relinking. Since a more recent libdrm
version than the one provided by the system is often needed when compiling
mesa, make sure this works by putting libdrm in front.

See also: https://bugs.freedesktop.org/show_bug.cgi?id=100259

Signed-off-by: Roman Gilg <subdiff@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/targets/dri/Makefile.am