From: Assar Westerlund Date: Sat, 2 Sep 2000 22:32:26 +0000 (+0000) Subject: * ltconfig.in: Add back ranlib calls for static libraries if there X-Git-Tag: release-1-3d~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=098893dc997bd8c9618359fa6106a8b310e3e653;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 7c8ccdbbe..76cf0e06a 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 Move the echo detection code to a macro in libtool.m4. The code diff --git a/ltconfig.in b/ltconfig.in index ba1bac024..a7e1cd0a4 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -538,6 +538,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 + # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru