mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-10 18:34:21 +02:00
Check for Security.Framework on mac
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user