diff options
author | Maarten Lankhorst <[email protected]> | 2012-11-16 18:50:57 +0100 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2012-11-19 09:58:39 +0100 |
commit | b2f18cd2b0f75d200d4fc713325269171ac87616 (patch) | |
tree | fe057e79b70d74cdfb1d5db415c74da376b7b224 /src/gallium/targets/vdpau-r600 | |
parent | 49150fd43c4f6dacb2b2f1df9c3b7a38f57a4b95 (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]>
(cherry picked from commit 4f0537e645f9c34e305f2808c70eafbbc1c7689c)
Diffstat (limited to 'src/gallium/targets/vdpau-r600')
-rw-r--r-- | src/gallium/targets/vdpau-r600/Makefile | 2 |
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 |