summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/gbm/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/gbm/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/gbm/Makefile')
-rw-r--r--src/gallium/targets/gbm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/gbm/Makefile b/src/gallium/targets/gbm/Makefile
index 423debf176d..17d5648a1b3 100644
--- a/src/gallium/targets/gbm/Makefile
+++ b/src/gallium/targets/gbm/Makefile
@@ -14,7 +14,7 @@ GBM_INCLUDES = \
-I$(TOP)/src/gallium/winsys \
-I$(TOP)/src/gallium/include
-GBM_LIBS = $(LIBUDEV_LIBS) $(LIBDRM_LIB) -lm \
+GBM_LIBS = $(LIBUDEV_LIBS) $(LIBDRM_LIBS) -lm \
$(TOP)/src/gallium/state_trackers/gbm/libgbm.a \
$(GALLIUM_PIPE_LOADER_LIBS) $(GALLIUM_AUXILIARIES)