mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Use EXPORT_XPT_API define when building libraries. Needed for mingw32.
This commit is contained in:
parent
19b05072d7
commit
18d8f2f08c
@ -38,6 +38,8 @@ CPPSRCS = \
|
||||
nsProxyObjectManager.cpp \
|
||||
$(NULL)
|
||||
|
||||
DEFINES += -D_IMPL_NS_COM -D_IMPL_NS_BASE -DEXPORT_XPTC_API
|
||||
|
||||
# No shared lib; Force creation of static lib
|
||||
override NO_SHARED_LIB=1
|
||||
override NO_STATIC_LIB=
|
||||
|
@ -44,3 +44,4 @@ override NO_STATIC_LIB=
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
DEFINES += -DEXPORT_XPTI_API -DEXPORT_XPT_API
|
||||
|
@ -44,6 +44,9 @@ override NO_STATIC_LIB=
|
||||
|
||||
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
|
||||
# must be built early.
|
||||
export:: libs
|
||||
|
Loading…
Reference in New Issue
Block a user