From 6a22bef151e9dc5439a9be9b6441312d4892204a Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Sat, 12 May 2001 01:29:55 +0000 Subject: [PATCH] Restored some deleted code. --- nsprpub/lib/ds/Makefile.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nsprpub/lib/ds/Makefile.in b/nsprpub/lib/ds/Makefile.in index 0525c021c462..0394a1b65724 100644 --- a/nsprpub/lib/ds/Makefile.in +++ b/nsprpub/lib/ds/Makefile.in @@ -67,6 +67,17 @@ endif # WINNT EXTRA_LIBS = $(LIBNSPR) +# On NCR and SCOOS, we can't link with extra libraries when +# we build a shared library. If we do so, the linker doesn't +# complain, but we would run into weird problems at run-time. +# Therefore on these platforms, we link just the .o files. +ifeq ($(OS_ARCH),NCR) +EXTRA_LIBS = +endif +ifeq ($(OS_ARCH),SCOOS) +EXTRA_LIBS = +endif + ifdef RESOLVE_LINK_SYMBOLS EXTRA_LIBS += $(OS_LIBS) endif