nouveau: use DLOPEN_LIBS instead of -ldl
authorJonathan Gray <jsg@jsg.id.au>
Thu, 20 Mar 2014 03:45:04 +0000 (14:45 +1100)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 20 Mar 2014 12:32:12 +0000 (08:32 -0400)
libdl does not exist on many platforms which have dlopen in libc.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/Makefile.am

index ac4f9bbcbf305f56075502078d78edc5572696ea..f0044226d2f96bc57c8b0243bee941c2b51613d0 100644 (file)
@@ -50,4 +50,4 @@ nouveau_compiler_LDADD = \
        ../../auxiliary/libgallium.la \
        -lstdc++ \
        -lm \
-       -ldl
+       $(DLOPEN_LIBS)