Check for Security.Framework on mac

This commit is contained in:
jacob1 2020-02-08 14:18:49 -05:00
parent 88064970a3
commit 051d70e6e2

View File

@ -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")