From 051d70e6e2bfaae6adc7ae542186df1e94da218c Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 8 Feb 2020 14:18:49 -0500 Subject: [PATCH] Check for Security.Framework on mac --- SConscript | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SConscript b/SConscript index 65a7fd442..3d5247b5d 100644 --- a/SConscript +++ b/SConscript @@ -339,6 +339,11 @@ def findLibs(env, conf): else: env.ParseConfig("curl-config --libs") + # Needed for ssl. Scons seems incapable of parsing this out of curl-config + if platform == "Darwin": + if not conf.CheckFramework('Security'): + FatalError("Could not find Security.Framework") + #Look for pthreads if not conf.CheckLib(['pthread', 'pthreadVC2']): FatalError("pthreads development library not found or not installed")