diff options
author | Moonchild <moonchild@palemoon.org> | 2022-04-05 20:19:49 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-07 15:45:41 +0200 |
commit | ce1c300502555e95cbf82882bd3deeb53ec6839e (patch) | |
tree | 5a2459833e83922eb12eed7f5d48bc61f4ce91da /python | |
parent | 6a0d77b68ca4eff8200f5905d89667cc469ecc43 (diff) | |
download | uxp-ce1c300502555e95cbf82882bd3deeb53ec6839e.tar.gz |
Issue #1847 - Fixes for SunOS
Diffstat (limited to 'python')
-rw-r--r-- | python/mozbuild/mozbuild/frontend/gyp_reader.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/mozbuild/mozbuild/frontend/gyp_reader.py b/python/mozbuild/mozbuild/frontend/gyp_reader.py index ef24c0dc42..e6d2607032 100644 --- a/python/mozbuild/mozbuild/frontend/gyp_reader.py +++ b/python/mozbuild/mozbuild/frontend/gyp_reader.py @@ -319,6 +319,8 @@ def read_from_gyp(config, path, output, vars, no_chromium, no_unified, action_ov 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 = { |