Added library to link line on MacOSX to resolve static member functions

This commit is contained in:
Gene Anaya 2001-02-01 23:04:17 +00:00
parent c81db4843e
commit 5df7c5c127

View file

@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.8 $
# $Revision: 1.9 $
#
# last change: $Author: cl $ $Date: 2001-01-12 16:08:04 $
# last change: $Author: ganaya $ $Date: 2001-02-02 00:04:17 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@ -112,6 +112,12 @@ SHL1STDLIBS= \
$(ONELIB) \
$(GOODIESLIB)
# 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"
SHL1STDLIBS+=-licg617mxp
.ENDIF
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
SHL1LIBS= $(LIB1TARGET)