summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-04-05 20:19:49 +0200
committerMoonchild <moonchild@palemoon.org>2022-04-07 15:45:41 +0200
commitce1c300502555e95cbf82882bd3deeb53ec6839e (patch)
tree5a2459833e83922eb12eed7f5d48bc61f4ce91da /python
parent6a0d77b68ca4eff8200f5905d89667cc469ecc43 (diff)
downloaduxp-ce1c300502555e95cbf82882bd3deeb53ec6839e.tar.gz
Issue #1847 - Fixes for SunOS
Diffstat (limited to 'python')
-rw-r--r--python/mozbuild/mozbuild/frontend/gyp_reader.py2
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 = {