Bug 1478499 - Consider GCC_USE_GNU_LD when passing a symbols file in the Tup build for consistency with the Make build. r=mshal

MozReview-Commit-ID: 7D4zYj6vhly

--HG--
extra : rebase_source : 8552b2f277318c9f56523171f996167066aed6f1
This commit is contained in:
Chris Manchester 2018-07-31 16:11:33 -07:00
Родитель 8f4e7ae4ec
Коммит ed4f391f1c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -379,9 +379,9 @@ class TupBackend(CommonBackend):
static_libs += rust_linked
symbols_file = []
if shlib.symbols_file:
if (shlib.symbols_file and
backend_file.environment.substs.get('GCC_USE_GNU_LD')):
inputs.append(shlib.symbols_file)
# TODO: Assumes GNU LD
symbols_file = ['-Wl,--version-script,%s' % shlib.symbols_file]
cmd = (