summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/vdpau-radeonsi/Makefile
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-radeonsi/Makefile
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-radeonsi/Makefile')
-rw-r--r--src/gallium/targets/vdpau-radeonsi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/vdpau-radeonsi/Makefile b/src/gallium/targets/vdpau-radeonsi/Makefile
index 6dd2be9fc0f..4ff674361aa 100644
--- a/src/gallium/targets/vdpau-radeonsi/Makefile
+++ b/src/gallium/targets/vdpau-radeonsi/Makefile
@@ -23,7 +23,7 @@ C_SOURCES = \
DRIVER_DEFINES = \
-DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_NOOP
-DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes -ldrm_radeon
+DRIVER_LIBS = $(LIBDRM_LIBS) $(RADEON_LIBS) -lXfixes
include ../Makefile.vdpau