summaryrefslogtreecommitdiff
path: root/UnoControls/source/controls
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2000-10-06 15:30:31 +0000
committerPatrick Luby <pluby@openoffice.org>2000-10-06 15:30:31 +0000
commitc68f4b72714456b782b64ff48904b4f43362db41 (patch)
tree0fc44d0e576655b773e75984137d22daf0da52e3 /UnoControls/source/controls
parent6b518cfbebb6dd7cf462ad116f083680c3e4823b (diff)
Added initialization of Sequence<X>::s_pType static data members for Mac OS X
Diffstat (limited to 'UnoControls/source/controls')
-rw-r--r--UnoControls/source/controls/makefile.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/UnoControls/source/controls/makefile.mk b/UnoControls/source/controls/makefile.mk
index 2de3bb05b4ca..b51357cc27de 100644
--- a/UnoControls/source/controls/makefile.mk
+++ b/UnoControls/source/controls/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 16:11:17 $
+# last change: $Author: pluby $ $Date: 2000-10-06 16:30:31 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -76,5 +76,12 @@ SLOFILES=\
$(SLO)$/OConnectionPointHelper.obj \
$(SLO)$/OConnectionPointContainerHelper.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)$/staticmbcontrols.obj
+.ENDIF
+
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk