It seems to me that -current libtool has lost the ability to run
ranlib when creating static libraries. I added back the lines from a
previous versions, see patch at end. Is there any reason for not
calling ranlib? Not using ranlib does make static libraries not work
on some platforms, for example OpenBSD/i386. Any comments?
/assar
2000-08-13 Assar Westerlund <[EMAIL PROTECTED]>
* ltconfig.in: add back ranlib calls for static libraries if there
is a ranlib
Index: ltconfig.in
===================================================================
RCS file: /home/cvs/libtool/ltconfig.in,v
retrieving revision 1.275
diff -u -w -u -w -r1.275 ltconfig.in
--- ltconfig.in 2000/07/24 06:15:50 1.275
+++ ltconfig.in 2000/08/13 20:59:05
@@ -526,6 +528,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