summaryrefslogtreecommitdiff
path: root/unotools/source/config/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/makefile.mk')
-rw-r--r--unotools/source/config/makefile.mk17
1 files changed, 13 insertions, 4 deletions
diff --git a/unotools/source/config/makefile.mk b/unotools/source/config/makefile.mk
index 30f5f4c7872b..bf411abaa6ac 100644
--- a/unotools/source/config/makefile.mk
+++ b/unotools/source/config/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.1.1.1 $
+# $Revision: 1.2 $
#
-# last change: $Author: hr $ $Date: 2000-09-18 17:03:54 $
+# last change: $Author: bmahbod $ $Date: 2000-10-06 23:53:13 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -94,8 +94,17 @@ ENABLE_EXCEPTIONS=TRUE
# --- Files -------------------------------------
SLOFILES=\
- $(SLO)$/configitem.obj \
- $(SLO)$/configmgr.obj \
+ $(SLO)$/configitem.obj \
+ $(SLO)$/configmgr.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)$/staticmbconfig.obj
+.ENDIF
# --- Targets ----------------------------------