From: Richard Levitte Date: Mon, 9 Oct 2000 00:50:04 +0000 (+0000) Subject: Make sure ranlib is only used on .a libraries. X-Git-Tag: OpenSSL_0_9_6~1^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ba839bfe2afb1dab0cdcd27ad6b6f93c043df4c;p=openssl Make sure ranlib is only used on .a libraries. --- diff --git a/Makefile.org b/Makefile.org index 0f410c08ae..96e4aaa8fb 100644 --- a/Makefile.org +++ b/Makefile.org @@ -462,7 +462,8 @@ install: all install_docs if [ -f "$$i" ]; then \ ( echo installing $$i; \ cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ - $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \ + (echo $$i | grep '\\.a$$' > /dev/null 2>&1) \ + && $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \ fi \ done