From ce6f656e1b064d6308cf8bdd8f7e28ccddbd51be Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 13 Nov 2001 11:10:29 +0000 Subject: [PATCH] Apply change from revision 1.101 (2000-10-09 02:50 levitte): Make sure ranlib is only used on .a libraries. --- Makefile.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.org b/Makefile.org index 173c1ab9b5..f1d7903f1b 100644 --- a/Makefile.org +++ b/Makefile.org @@ -488,7 +488,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 -- 2.25.1