]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in: Add back ranlib calls for static libraries if there
authorAssar Westerlund <assar@sics.se>
Sat, 2 Sep 2000 22:32:26 +0000 (22:32 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 22:32:26 +0000 (22:32 +0000)
is a ranlib.

ChangeLog
ltconfig.in

index 7c8ccdbbe9f71efcf15dc769d0733be955e042bd..76cf0e06a72a71152c01ba55ad6cc4bdf4696b35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-02  Assar Westerlund  <assar@sics.se>
+
+       * ltconfig.in: Add back ranlib calls for static libraries if there
+       is a ranlib.
+
 2000-08-31  Gary V. Vaughan  <gvv@techie.com>
 
        Move the echo detection code to a macro in libtool.m4.  The code
index ba1bac024f18202333178415eef045d0b9ec5af7..a7e1cd0a445664b1d1a16fe3370f6a102c1a0ed7 100755 (executable)
@@ -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