From 098893dc997bd8c9618359fa6106a8b310e3e653 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 2 Sep 2000 22:32:26 +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 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 -- 2.47.3