зеркало из https://github.com/mozilla/gecko-dev.git
Change the linking option of -Bsymbolic to only happen on Components
(i.e the i18n code and NOT on anything that links in gtk r=pepper@netscape.com # 18129
This commit is contained in:
Родитель
0b4a5e1ffa
Коммит
0d9441fd1b
|
@ -306,6 +306,19 @@ EXTRA_DSO_LDOPTS += -L$(DIST)/bin $(BEOS_LINK_LIBS) $(NSPR_LIBS)
|
|||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
# HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag
|
||||
# which uses internal symbols first
|
||||
#
|
||||
ifeq ($(OS_ARCH),HP-UX)
|
||||
ifdef IS_COMPONENT
|
||||
ifeq ($(GNU_CC)$(GNU_CXX),)
|
||||
EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
|
||||
endif # non-gnu compilers
|
||||
endif # IS_COMPONENT
|
||||
endif # HP-UX
|
||||
|
||||
|
||||
################################################################################
|
||||
|
||||
all:: export libs install
|
||||
|
|
|
@ -499,7 +499,7 @@ case "$target" in
|
|||
*-hpux*)
|
||||
DLL_SUFFIX="sl"
|
||||
if test ! "$GNU_CC"; then
|
||||
DSO_LDOPTS='-b -Wl,+s -L$(DIST)/bin -Wl,-Bsymbolic'
|
||||
DSO_LDOPTS='-b -Wl,+s -L$(DIST)/bin'
|
||||
DSO_CFLAGS=""
|
||||
DSO_PIC_CFLAGS="+Z"
|
||||
MKSHLIB='$(CXX) $(DSO_LDOPTS)'
|
||||
|
|
Загрузка…
Ссылка в новой задаче