From fa01671f0a42c3bef5cbb976e238f59865387eca Mon Sep 17 00:00:00 2001 From: Hans-Joachim Lankenau Date: Tue, 16 Jan 2001 14:25:20 +0000 Subject: instantiate static member - macosx --- fileaccess/source/makefile.mk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'fileaccess/source/makefile.mk') diff --git a/fileaccess/source/makefile.mk b/fileaccess/source/makefile.mk index d1b434da8841..f709487923df 100644 --- a/fileaccess/source/makefile.mk +++ b/fileaccess/source/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.3 $ +# $Revision: 1.4 $ # -# last change: $Author: obo $ $Date: 2000-10-31 13:13:38 $ +# last change: $Author: hjs $ $Date: 2001-01-16 15:25:20 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -79,6 +79,13 @@ SLOFILES= \ $(SLO)$/FileAccess.obj # $(SLO)$/$(COMP1TYPELIST)_description.obj +# NETBSD: somewhere we have to instantiate the static data members. +# NETBSD-1.2.1 doesn't know about weak symbols so the default mechanism for GCC won't work. +# SCO and MACOSX: the linker does know about weak symbols, but we can't ignore multiple defined symbols +.IF "$(OS)"=="NETBSD" || "$(OS)"=="SCO" || "$(OS)$(COM)"=="OS2GCC" || "$(OS)"=="MACOSX" +SLOFILES+=$(SLO)$/staticmb.obj +.ENDIF + SHL1TARGET= $(TARGET) SHL1STDLIBS= \ -- cgit