summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/vdpau-r300
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2012-11-16 18:50:57 +0100
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>2012-11-16 18:50:57 +0100
commit4f0537e645f9c34e305f2808c70eafbbc1c7689c (patch)
tree3251e18ec93257bd4f1d6bf60459b71aa129abc1 /src/gallium/targets/vdpau-r300
parent6346214f055126d421a20c40056e3abe8ce1f9f3 (diff)
downloadexternal_mesa3d-4f0537e645f9c34e305f2808c70eafbbc1c7689c.zip
external_mesa3d-4f0537e645f9c34e305f2808c70eafbbc1c7689c.tar.gz
external_mesa3d-4f0537e645f9c34e305f2808c70eafbbc1c7689c.tar.bz2
[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>
Diffstat (limited to 'src/gallium/targets/vdpau-r300')
-rw-r--r--src/gallium/targets/vdpau-r300/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/vdpau-r300/Makefile b/src/gallium/targets/vdpau-r300/Makefile
index 1ada550..e79c920 100644
--- a/src/gallium/targets/vdpau-r300/Makefile
+++ b/src/gallium/targets/vdpau-r300/Makefile
@@ -21,7 +21,7 @@ C_SOURCES = \
$(COMMON_GALLIUM_SOURCES) \
$(DRIVER_SOURCES)
-DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes -ldrm_radeon
+DRIVER_LIBS = $(LIBDRM_LIBS) $(RADEON_LIBS) -lXfixes
include ../Makefile.vdpau