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

Signed-off-by: Jonathan Gray <j...@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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to