Bug 1411712 - Move symbol version script ldflags for js to moz.build r=mshal

MozReview-Commit-ID: D1NqJRFjVI2

--HG--
extra : rebase_source : a1762260f56812998302eccf27ceb425da8906ad
This commit is contained in:
Chris Manchester 2017-11-02 11:47:48 -07:00
parent 33f036289d
commit 3b58a05af7
2 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,6 @@
# Ensure symbol versions of shared library on Linux do not conflict
# with those in libxul.
ifeq (Linux,$(OS_TARGET))
OS_LDFLAGS += -Wl,-version-script,symverscript
symverscript: symverscript.in
$(call py_action,preprocessor, \

View File

@ -75,3 +75,8 @@ OS_LIBS += CONFIG['REALTIME_LIBS']
NO_EXPAND_LIBS = True
DIST_INSTALL = True
# Ensure symbol versions of shared library on Linux do not conflict
# with those in libxul.
if CONFIG['OS_TARGET'] == 'Linux':
LDFLAGS += ['-Wl,-version-script,symverscript']