summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/vdpau-r600
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2012-11-16 18:50:57 +0100
committerMaarten Lankhorst <[email protected]>2012-11-16 18:50:57 +0100
commit4f0537e645f9c34e305f2808c70eafbbc1c7689c (patch)
tree3251e18ec93257bd4f1d6bf60459b71aa129abc1 /src/gallium/targets/vdpau-r600
parent6346214f055126d421a20c40056e3abe8ce1f9f3 (diff)
[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 <[email protected]> Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/targets/vdpau-r600')
-rw-r--r--src/gallium/targets/vdpau-r600/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/vdpau-r600/Makefile b/src/gallium/targets/vdpau-r600/Makefile
index 05e0b4f45f1..6ef7f901f3d 100644
--- a/src/gallium/targets/vdpau-r600/Makefile
+++ b/src/gallium/targets/vdpau-r600/Makefile
@@ -17,7 +17,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