From b2f18cd2b0f75d200d4fc713325269171ac87616 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Fri, 16 Nov 2012 18:50:57 +0100 Subject: [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 Acked-by: Matt Turner (cherry picked from commit 4f0537e645f9c34e305f2808c70eafbbc1c7689c) --- src/gallium/targets/xvmc-r600/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/targets/xvmc-r600/Makefile') diff --git a/src/gallium/targets/xvmc-r600/Makefile b/src/gallium/targets/xvmc-r600/Makefile index d9ce72f11df..3ef5b1aef02 100644 --- a/src/gallium/targets/xvmc-r600/Makefile +++ b/src/gallium/targets/xvmc-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.xvmc -- cgit v1.2.3