[PATCH] Trivial tidyups
[git.git] / Makefile
index f50ad72..f580576 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -95,9 +95,13 @@ ifdef PPC_SHA1
   LIB_OBJS += ppc/sha1.o ppc/sha1ppc.o
 else
   SHA1_HEADER=<openssl/sha.h>
+ifeq ($(shell uname -s),Darwin)
+  LIBS += -lcrypto -lssl
+else
   LIBS += -lcrypto
 endif
 endif
+endif
 
 CFLAGS += '-DSHA1_HEADER=$(SHA1_HEADER)'