From: Peter O'Gorman Date: Fri, 30 Jul 2004 13:41:48 +0000 (+0000) Subject: * ltmain.in [darwin]: We already had a module var, there can be X-Git-Tag: release-1-9b~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e559ff5c4c2f2d0ab144b0b627a550a6ab14d1b1;p=thirdparty%2Flibtool.git * ltmain.in [darwin]: We already had a module var, there can be only one. --- diff --git a/ChangeLog b/ChangeLog index 0b5714f4e..d4ac3b3c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-07-30 Peter O'Gorman + * ltmain.in [darwin]: We already had a module var, there can be + only one. + * m4/libtool.m4, ltmain.in: autoconf now says the best thing to do with CDPATH is to (unset CDPATH) >/dev/null 2>&1 && unset CDPATH, so do it. diff --git a/ltmain.in b/ltmain.in index 91fe69370..4aca585dd 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2739,9 +2739,9 @@ EOF # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule="" - for module in $dlprefiles; do - if test "X$module" = "X$lib"; then - dlopenmodule="$module" + for dlpremoduletest in $dlprefiles; do + if test "X$dlpremoduletest" = "X$lib"; then + dlopenmodule="$dlpremoduletest" break fi done