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>
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
$(top_builddir)/src/util/libmesautil.la \
$(ELF_LIB) \
- -ldl \
+ $(DLOPEN_LIBS) \
-lclangCodeGen \
-lclangFrontendTool \
-lclangFrontend \
TEST_LIBS = \
libi965_compiler.la \
../../../libmesa.la \
- -lpthread -ldl \
+ $(PTHREAD_LIBS) \
+ $(DLOPEN_LIBS) \
../common/libdri_test_stubs.la
TESTS = \