Source release v3.5.0
This commit is contained in:
7
third_party/gyp/generator/ninja.py
vendored
7
third_party/gyp/generator/ninja.py
vendored
@@ -1195,7 +1195,10 @@ class NinjaWriter(object):
|
||||
is_executable = spec['type'] == 'executable'
|
||||
# The ldflags config key is not used on mac or win. On those platforms
|
||||
# linker flags are set via xcode_settings and msvs_settings, respectively.
|
||||
env_ldflags = os.environ.get('LDFLAGS', '').split()
|
||||
if self.toolset == 'target':
|
||||
env_ldflags = os.environ.get('LDFLAGS', '').split()
|
||||
elif self.toolset == 'host':
|
||||
env_ldflags = os.environ.get('LDFLAGS_host', '').split()
|
||||
if self.flavor == 'mac':
|
||||
ldflags = self.xcode_settings.GetLdflags(config_name,
|
||||
self.ExpandSpecial(generator_default_variables['PRODUCT_DIR']),
|
||||
@@ -2321,7 +2324,7 @@ def GenerateOutputForConfig(target_list, target_dicts, data, params,
|
||||
'copy',
|
||||
description='COPY $in $out',
|
||||
command='%s gyp-win-tool recursive-mirror $in $out' % sys.executable)
|
||||
elif flavor == 'os390':
|
||||
elif flavor == 'zos':
|
||||
master_ninja.rule(
|
||||
'copy',
|
||||
description='COPY $in $out',
|
||||
|
||||
Reference in New Issue
Block a user