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:
jdunn%netscape.com 1999-11-18 02:49:30 +00:00
Родитель 0b4a5e1ffa
Коммит 0d9441fd1b
2 изменённых файлов: 14 добавлений и 1 удалений

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

@ -306,6 +306,19 @@ EXTRA_DSO_LDOPTS += -L$(DIST)/bin $(BEOS_LINK_LIBS) $(NSPR_LIBS)
endif endif
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 all:: export libs install

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

@ -499,7 +499,7 @@ case "$target" in
*-hpux*) *-hpux*)
DLL_SUFFIX="sl" DLL_SUFFIX="sl"
if test ! "$GNU_CC"; then 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_CFLAGS=""
DSO_PIC_CFLAGS="+Z" DSO_PIC_CFLAGS="+Z"
MKSHLIB='$(CXX) $(DSO_LDOPTS)' MKSHLIB='$(CXX) $(DSO_LDOPTS)'