]> 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>
Sun, 25 Jan 2004 00:13:06 +0000 (00:13 +0000)
committerPeter O'Gorman <peter@pogma.com>
Sun, 25 Jan 2004 00:13:06 +0000 (00:13 +0000)
ChangeLog
ltmain.in

index 26d6a054925407d878035232f472fac703786929..031e9bcbe855f44e3e43cee989306253ec8bbb44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-25  Peter O'Gorman  <peter@pogma.com>
+
+       * ltmain.in: Check for module_cmds if max_cmd_len is exceeded too.
+
 2004-01-23  Scott James Remnant  <scott@netsplit.com>
 
        * libtool.m4 (AC_LIBTOOL_CONFIG): Don't attempt to
index 566ac000ed4e05f8a77356aa74fab52b1fdf1032..173df363d3ebd200860c45f58e8a4671fd274848 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -3841,10 +3841,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