summaryrefslogtreecommitdiff
path: root/comphelper/source/container/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/container/makefile.mk')
-rw-r--r--comphelper/source/container/makefile.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/comphelper/source/container/makefile.mk b/comphelper/source/container/makefile.mk
index fa119434db7c..a0de9408c587 100644
--- a/comphelper/source/container/makefile.mk
+++ b/comphelper/source/container/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.1.1.1 $
+# $Revision: 1.2 $
#
-# last change: $Author: fs $ $Date: 2000-09-29 11:28:15 $
+# last change: $Author: pluby $ $Date: 2000-10-07 21:13:51 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -77,6 +77,13 @@ SLOFILES=\
$(SLO)$/enumhelper.obj \
$(SLO)$/container.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)$/staticmbcontainer.obj
+.ENDIF
+
# --- Targets ----------------------------------
.INCLUDE : target.mk