From 297cffcee181bbb584dfc77bf1acd27029f60f2f Mon Sep 17 00:00:00 2001
From: fredrossperry <fredrossperry@gmail.com>
Date: Wed, 16 Dec 2015 09:33:25 -0800
Subject: =?UTF-8?q?Don=E2=80=99t=20include=20openssl=20by=20default=20in?=
 =?UTF-8?q?=20the=20OS=20X=20build.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Makerules | 6 ++++++
 1 file changed, 6 insertions(+)

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
 
-- 
cgit v1.2.3