summaryrefslogtreecommitdiff
path: root/unotools/source/i18n/makefile.mk
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2000-10-19 18:44:18 +0000
committerPatrick Luby <pluby@openoffice.org>2000-10-19 18:44:18 +0000
commit263ed5417051e2292846419f7075ae48d7abd347 (patch)
tree2a247cc0da59f1ae95d991f77a58bc16eef1bbcf /unotools/source/i18n/makefile.mk
parent1cedc68817de521af4a23f049295cee7da07a01c (diff)
Added initialization of static data members for template classes for Mac OS X
Diffstat (limited to 'unotools/source/i18n/makefile.mk')
-rw-r--r--unotools/source/i18n/makefile.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/unotools/source/i18n/makefile.mk b/unotools/source/i18n/makefile.mk
index 113e31ffc480..9f73daa71576 100644
--- a/unotools/source/i18n/makefile.mk
+++ b/unotools/source/i18n/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: er $ $Date: 2000-10-13 19:54:02 $
+# last change: $Author: pluby $ $Date: 2000-10-19 19:44:18 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -100,6 +100,13 @@ SLOFILES= \
$(SLO)$/localedatawrapper.obj \
$(SLO)$/numberformatcodewrapper.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)$/staticmbi18n.obj
+.ENDIF
# --- Targets ----------------------------------