wscript: fix Apple-specific flag being added on non-Apple platforms
Although GCC and Clang completely ignore this flag on non-Apple platforms, some "GCC-compatible" compilers may not, like EDG frontend based compilers.
This commit is contained in:
parent
77fe1c6d32
commit
f26257d6e4
7
wscript
7
wscript
@ -1387,10 +1387,11 @@ int main () { return 0; }
|
||||
|
||||
set_compiler_flags (conf, Options.options)
|
||||
|
||||
if conf.env['build_host'] not in [ 'mojave', 'catalina', 'bigsur']:
|
||||
conf.env.append_value('CXXFLAGS_OSX', '-F/System/Library/Frameworks')
|
||||
if sys.platform == 'darwin':
|
||||
if conf.env['build_host'] not in [ 'mojave', 'catalina', 'bigsur']:
|
||||
conf.env.append_value('CXXFLAGS_OSX', '-F/System/Library/Frameworks')
|
||||
|
||||
conf.env.append_value('CXXFLAGS_OSX', '-F/Library/Frameworks')
|
||||
conf.env.append_value('CXXFLAGS_OSX', '-F/Library/Frameworks')
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
sub_config_and_use(conf, 'libs/appleutility')
|
||||
|
Loading…
Reference in New Issue
Block a user