From: Assar Westerlund Date: Sat, 2 Sep 2000 22:32:28 +0000 (+0000) Subject: * ltconfig.in: Add back ranlib calls for static libraries if there X-Git-Tag: multi-language-merge-point~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f27f52c8edaa56a70a0bfcc8cb73c9186c2d33a;p=thirdparty%2Flibtool.git * ltconfig.in: Add back ranlib calls for static libraries if there is a ranlib. --- 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