[PATCH] makefiles: use configured name for -ldrm* where possible
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Fri, 16 Nov 2012 17:50:57 +0000 (18:50 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 19 Nov 2012 08:58:39 +0000 (09:58 +0100)
commitb2f18cd2b0f75d200d4fc713325269171ac87616
treefe057e79b70d74cdfb1d5db415c74da376b7b224
parent49150fd43c4f6dacb2b2f1df9c3b7a38f57a4b95
[PATCH] makefiles: use configured name for -ldrm* where possible

For precise lts support I had to do some magic with the library names, which works fine
as long as the libraries from pkg-config are used.

The parts with src/gallium/targets/va-*/Makefile will not apply on the master branch,
but do apply to the 9.0 branch.

NOTE: This is a candidate for the 9.0 branch.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Matt Turner <mattst88@gmail.com>
(cherry picked from commit 4f0537e645f9c34e305f2808c70eafbbc1c7689c)
13 files changed:
configs/current.in
src/gallium/targets/dri-i915/Makefile
src/gallium/targets/dri-r300/Makefile
src/gallium/targets/dri-r600/Makefile
src/gallium/targets/dri-radeonsi/Makefile
src/gallium/targets/egl-static/Makefile
src/gallium/targets/gbm/Makefile
src/gallium/targets/pipe-loader/Makefile
src/gallium/targets/vdpau-r300/Makefile
src/gallium/targets/vdpau-r600/Makefile
src/gallium/targets/vdpau-radeonsi/Makefile
src/gallium/targets/xvmc-r300/Makefile
src/gallium/targets/xvmc-r600/Makefile