]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Check for module_cmds if max_cmd_len is exceeded too.
authorPeter O'Gorman <peter@pogma.com>
Sat, 22 Nov 2003 13:58:35 +0000 (13:58 +0000)
committerPeter O'Gorman <peter@pogma.com>
Sat, 22 Nov 2003 13:58:35 +0000 (13:58 +0000)
ChangeLog
ltmain.in

index dcd23d26f4ac721c1daaf98614d8828c9d2bf260..7d80117ce1e8ed96322b92b73a298d4c2a896664 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-11-22  Peter O'Gorman  <peter@pogma.com>
+
+       * ltmain.in: Check for module_cmds if max_cmd_len is exceeded too.
+
 2003-11-22  Gary V. Vaughan  <gary@gnu.org>
 
        * configure.ac (LASTRELEASE): Calculate it as best as we can from
index 0ee019571c2ac310c89d3cf8b6259c693a9e3d3c..6dbdca67772f6c772c351e3ab70167dcff385902 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -3899,10 +3899,18 @@ EOF
          # value of $libobjs for piecewise linking.
 
          # Do each of the archive commands.
+         if test "$module" = yes && test -n "$module_cmds" ; then
+           if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+             eval cmds=\"$module_expsym_cmds\"
+           else
+             eval cmds=\"$module_cmds\"
+           fi
+         else
          if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
            eval cmds=\"$archive_expsym_cmds\"
          else
            eval cmds=\"$archive_cmds\"
+           fi
          fi
 
          # Append the command to remove the reloadable object files