From 0f27f52c8edaa56a70a0bfcc8cb73c9186c2d33a Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 2 Sep 2000 22:32:28 +0000 Subject: [PATCH] * ltconfig.in: Add back ranlib calls for static libraries if there is a ranlib. --- ChangeLog | 5 +++++ ltconfig.in | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index fb01933d1..7917dd483 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-09-02 Assar Westerlund + + * ltconfig.in: Add back ranlib calls for static libraries if there + is a ranlib. + 2000-08-31 Gary V. Vaughan sh.test was failing unnecessarily. diff --git a/ltconfig.in b/ltconfig.in index 67dfacfb8..5fb71a7ff 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -620,6 +620,11 @@ old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= +if test -n "$RANLIB"; then + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" +fi + # Source the script associated with the $tagname tag configuration. if test -n "$tagname"; then . $ltmain -- 2.47.3