From: Peter O'Gorman Date: Sat, 22 Nov 2003 13:58:35 +0000 (+0000) Subject: * ltmain.in: Check for module_cmds if max_cmd_len is exceeded too. X-Git-Tag: release-1-9b~239 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f97c9e456859186d860ca1c1ce2dcfe3572df882;p=thirdparty%2Flibtool.git * ltmain.in: Check for module_cmds if max_cmd_len is exceeded too. --- diff --git a/ChangeLog b/ChangeLog index dcd23d26f..7d80117ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-11-22 Peter O'Gorman + + * ltmain.in: Check for module_cmds if max_cmd_len is exceeded too. + 2003-11-22 Gary V. Vaughan * configure.ac (LASTRELEASE): Calculate it as best as we can from diff --git a/ltmain.in b/ltmain.in index 0ee019571..6dbdca677 100644 --- 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