Mesa (master): nouveau: use DLOPEN_LIBS instead of -ldl

Ilia Mirkin imirkin at kemper.freedesktop.org
Thu Mar 20 12:41:27 UTC 2014


Module: Mesa
Branch: master
Commit: 8fbc9d9b6f09b3098a5f34340cce092aa46c42ad
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fbc9d9b6f09b3098a5f34340cce092aa46c42ad

Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Thu Mar 20 14:45:04 2014 +1100

nouveau: use DLOPEN_LIBS instead of -ldl

libdl does not exist on many platforms which have dlopen in libc.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/gallium/drivers/nouveau/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/Makefile.am b/src/gallium/drivers/nouveau/Makefile.am
index ac4f9bb..f004422 100644
--- a/src/gallium/drivers/nouveau/Makefile.am
+++ b/src/gallium/drivers/nouveau/Makefile.am
@@ -50,4 +50,4 @@ nouveau_compiler_LDADD = \
 	../../auxiliary/libgallium.la \
 	-lstdc++ \
 	-lm \
-	-ldl
+	$(DLOPEN_LIBS)




More information about the mesa-commit mailing list