diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)' |