summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gray <[email protected]>2014-03-20 14:45:04 +1100
committerIlia Mirkin <[email protected]>2014-03-20 08:32:12 -0400
commit8fbc9d9b6f09b3098a5f34340cce092aa46c42ad (patch)
treeda3b6a5e76cc00c41a16ebc07ca810bd22c53055
parenteaf9affa5ec9c5fd919e4207ab80b4677650ac67 (diff)
nouveau: use DLOPEN_LIBS instead of -ldl
libdl does not exist on many platforms which have dlopen in libc. Signed-off-by: Jonathan Gray <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r--src/gallium/drivers/nouveau/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/Makefile.am b/src/gallium/drivers/nouveau/Makefile.am
index ac4f9bbcbf3..f0044226d2f 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)