summaryrefslogtreecommitdiff
path: root/io/source/TextOutputStream
diff options
context:
space:
mode:
authorGene Anaya <ganaya@openoffice.org>2000-10-13 17:00:29 +0000
committerGene Anaya <ganaya@openoffice.org>2000-10-13 17:00:29 +0000
commit9bdb6240aad7c2d9cf89508c309879807ccbac02 (patch)
tree9e921f0c74b24d53d80e99543c84fcdd76b43fd2 /io/source/TextOutputStream
parentce704a3137e1a5fd7a4a4b7b1de22c2bbf46ed43 (diff)
Added several staticmbXXX.cxx files for mac os X build
Diffstat (limited to 'io/source/TextOutputStream')
-rw-r--r--io/source/TextOutputStream/makefile.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/io/source/TextOutputStream/makefile.mk b/io/source/TextOutputStream/makefile.mk
index a3fdcc81c1aa..6b2580fa6941 100644
--- a/io/source/TextOutputStream/makefile.mk
+++ b/io/source/TextOutputStream/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: obo $ $Date: 2000-09-18 23:17:34 $
+# last change: $Author: ganaya $ $Date: 2000-10-13 18:00:29 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -75,6 +75,12 @@ NO_BSYMBOLIC=TRUE
SLOFILES= \
$(SLO)$/TextOutputStream.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)$/staticmbTextOutputStream.obj
+.ENDIF
SHL1TARGET= $(TARGET)