summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/Makefile.am
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2015-11-23 14:22:24 +1100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-12-01 16:53:40 +0000
commit99cd60083518ad4465e3e29996168e8fa8a89fbb (patch)
tree637663b9fbb9c978a72431dcde94260e851c88f3 /src/mesa/drivers/dri/i965/Makefile.am
parent241f15ac80ddc452862b9d40d4d4bef648835ba0 (diff)
downloadexternal_mesa3d-99cd60083518ad4465e3e29996168e8fa8a89fbb.zip
external_mesa3d-99cd60083518ad4465e3e29996168e8fa8a89fbb.tar.gz
external_mesa3d-99cd60083518ad4465e3e29996168e8fa8a89fbb.tar.bz2
automake: fix some occurrences of hardcoded -ldl and -lpthread
Correct some occurrences of -ldl and -lpthread to use $(DLOPEN_LIBS) and $(PTHREAD_LIBS) respectively. Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/Makefile.am')
-rw-r--r--src/mesa/drivers/dri/i965/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
index 9d003e4..ad687bf 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -51,7 +51,8 @@ libi965_compiler_la_SOURCES = $(i965_compiler_FILES)
TEST_LIBS = \
libi965_compiler.la \
../../../libmesa.la \
- -lpthread -ldl \
+ $(PTHREAD_LIBS) \
+ $(DLOPEN_LIBS) \
../common/libdri_test_stubs.la
TESTS = \