changeset 32280:92f94dc1eaee

Fix the way the dynamic loader check adds linker flags.
author diego
date Sun, 26 Sep 2010 19:01:37 +0000
parents 6de1c6d3c1cb
children adc80f8de1a6
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Sep 26 18:24:14 2010 +0000
+++ b/configure	Sun Sep 26 19:01:37 2010 +0000
@@ -3526,8 +3526,8 @@
 
 echocheck "dynamic loader"
 _dl=no
-for _ld_dl in "" -ldl; do
-  function_check dlfcn.h 'dlopen("", 0)' $_ld_dl && _ld_dl="$_ld_tmp" && _dl=yes && break
+for _ld_tmp in "" -ldl; do
+  function_check dlfcn.h 'dlopen("", 0)' $_ld_tmp && _ld_dl="$_ld_tmp" && _dl=yes && break
 done
 if test "$_dl" = yes ; then
   def_dl='#define HAVE_LIBDL 1'