summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makerules6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index c73d8242..6fda2f6a 100644
--- a/Makerules
+++ b/Makerules
@@ -53,8 +53,14 @@ else ifeq "$(OS)" "MACOS"
HAVE_X11 ?= yes
+# Mac OS X deprecated openssl, so the default is to not include it.
+HAVE_OPENSSL ?= no
+SYS_OPENSSL_CFLAGS =
+SYS_OPENSSL_LIBS =
+ifeq "$(HAVE_OPENSSL)" "yes"
SYS_OPENSSL_CFLAGS = -DHAVE_OPENSSL
SYS_OPENSSL_LIBS = -lcrypto
+endif
SYS_CURL_DEPS = -lpthread