[Mesa-dev] [PATCH] nouveau: use DLOPEN_LIBS instead of -ldl
Jonathan Gray
jsg at jsg.id.au
Wed Mar 19 20:45:04 PDT 2014
libdl does not exist on many platforms which have dlopen in libc.
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
---
src/gallium/drivers/nouveau/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/gallium/drivers/nouveau/Makefile.am src/gallium/drivers/nouveau/Makefile.am
index ac4f9bb..f004422 100644
--- src/gallium/drivers/nouveau/Makefile.am
+++ src/gallium/drivers/nouveau/Makefile.am
@@ -50,4 +50,4 @@ nouveau_compiler_LDADD = \
../../auxiliary/libgallium.la \
-lstdc++ \
-lm \
- -ldl
+ $(DLOPEN_LIBS)
--
1.8.5.3
More information about the mesa-dev
mailing list