Make sure ranlib is only used on .a libraries.
authorRichard Levitte <levitte@openssl.org>
Mon, 9 Oct 2000 00:50:04 +0000 (00:50 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 9 Oct 2000 00:50:04 +0000 (00:50 +0000)
Makefile.org

index 0f410c08ae8a404b40f5af967ac74813e186c978..96e4aaa8fb9978fe0b7aea27097c4ca2ddf02d67 100644 (file)
@@ -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