Use EXPORT_XPT_API define when building libraries. Needed for mingw32.

This commit is contained in:
cls%seawood.org 2000-03-02 12:27:58 +00:00
parent 19b05072d7
commit 18d8f2f08c
3 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,8 @@ CPPSRCS = \
nsProxyObjectManager.cpp \ nsProxyObjectManager.cpp \
$(NULL) $(NULL)
DEFINES += -D_IMPL_NS_COM -D_IMPL_NS_BASE -DEXPORT_XPTC_API
# No shared lib; Force creation of static lib # No shared lib; Force creation of static lib
override NO_SHARED_LIB=1 override NO_SHARED_LIB=1
override NO_STATIC_LIB= override NO_STATIC_LIB=

View File

@ -44,3 +44,4 @@ override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
DEFINES += -DEXPORT_XPTI_API -DEXPORT_XPT_API

View File

@ -44,6 +44,9 @@ override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
DEFINES += -DEXPORT_XPT_API
HOST_CFLAGS += -DEXPORT_XPT_API
# Build libxpt early so that it'll be available to xpidl, which also # Build libxpt early so that it'll be available to xpidl, which also
# must be built early. # must be built early.
export:: libs export:: libs