]> 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:28 +0000 (22:32 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 22:32:28 +0000 (22:32 +0000)
is a ranlib.

ChangeLog
ltconfig.in

index fb01933d1cf63ecc23a8c18d133f2423e946a40c..7917dd4832b479193f9313a3a93a39ae42943e39 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>
 
        sh.test was failing unnecessarily.
index 67dfacfb8be87cceca70c1b1d5765b3cf0885791..5fb71a7ff181e1d77a354583458f316b237d68ed 100755 (executable)
@@ -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