--- SConstruct.old 2019-10-06 07:53:31.000000000 +0200 +++ SConstruct 2019-10-07 02:34:28.000000000 +0200 @@ -268,6 +268,10 @@ if sys.platform != 'win32': if sys.platform == 'sunos5': env.Append(LIBS=['m']) env.Append(PLATFORM='posix') + + if sys.platform.startswith('darwin'): + if 'DEVELOPER_DIR' in os.environ: + env['ENV']['DEVELOPER_DIR'] = os.environ['DEVELOPER_DIR'] else: # Warning level 4, no unused argument warnings env.Append(CCFLAGS=['/W4', '/wd4100'])