From f97c9e456859186d860ca1c1ce2dcfe3572df882 Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Sat, 22 Nov 2003 13:58:35 +0000 Subject: [PATCH] * ltmain.in: Check for module_cmds if max_cmd_len is exceeded too. --- ChangeLog | 4 ++++ ltmain.in | 8 ++++++++ 2 files changed, 12 insertions(+) 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 -- 2.47.2