summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-10-09 00:50:04 +0000
committerRichard Levitte <levitte@openssl.org>2000-10-09 00:50:04 +0000
commit7ba839bfe2afb1dab0cdcd27ad6b6f93c043df4c (patch)
tree64cd9ec50df5dc47efeddb834af065c785287d08 /Makefile.org
parentd2dcf4f40ddbbf02e43d4ede0a5471a7eb599787 (diff)
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 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