From 9c4fee9bbb5fda4e0af3dfff8d77a51553612740 Mon Sep 17 00:00:00 2001 From: "jdunn%netscape.com" Date: Wed, 2 Oct 2002 10:10:06 +0000 Subject: [PATCH] only export __shlInit for HP if we aren't on ia64 (which doesn't have the symbol) r=cls@seawood.org # 171952 --- config/rules.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/rules.mk b/config/rules.mk index 8adcddaebf5..fa3b45d4847 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -492,8 +492,12 @@ ifdef IS_COMPONENT ifeq ($(GNU_CC)$(GNU_CXX),) EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic ifneq ($(HAS_EXTRAEXPORTS),1) -MKSHLIB += -Wl,+eNSGetModule -Wl,+eerrno -Wl,+e_shlInit -MKCSHLIB += -Wl,+eNSGetModule -Wl,+eerrno -Wl,+e_shlInit +MKSHLIB += -Wl,+eNSGetModule -Wl,+eerrno +MKCSHLIB += -Wl,+eNSGetModule -Wl,+eerrno +ifneq ($(OS_TEST),ia64) +MKSHLIB += -Wl,+e_shlInit +MKCSHLIB += -Wl,+e_shlInit +endif # !ia64 endif # !HAS_EXTRAEXPORTS endif # non-gnu compilers endif # IS_COMPONENT