summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-11-13 11:10:29 +0000
committerRichard Levitte <levitte@openssl.org>2001-11-13 11:10:29 +0000
commitce6f656e1b064d6308cf8bdd8f7e28ccddbd51be (patch)
tree4878286802e68bc68a64e57bff2c3da83d508a98 /Makefile.org
parent9cb12c9d7632fa638022b1ca38fb21b84c6152a2 (diff)
Apply change from revision 1.101 (2000-10-09 02:50 levitte):
Make sure ranlib is only used on .a libraries.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org3
1 files changed, 2 insertions, 1 deletions
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