Bug 1405345 - ldflags as defined in gypi shouldn't be ignored at least on Solaris for now r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D26287

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Petr Sumbera 2019-04-09 13:22:16 +00:00
parent 82ca5a4de0
commit 41916af393

View File

@ -290,6 +290,8 @@ def process_gyp_result(gyp_result, gyp_dir_attrs, path, config, output,
context['ASFLAGS'] = target_conf.get('asflags_mozilla', [])
if use_defines_in_asflags and defines:
context['ASFLAGS'] += ['-D' + d for d in defines]
if config.substs['OS_TARGET'] == 'SunOS':
context['LDFLAGS'] = target_conf.get('ldflags', [])
flags = target_conf.get('cflags_mozilla', [])
if flags:
suffix_map = {