зеркало из https://github.com/mozilla/gecko-dev.git
Bug 214889 - add mozreg_s to the static link list and don't link it into xpcom obsolete when in a static build, r=cls
This commit is contained in:
Родитель
ad93adc654
Коммит
2bdd3b1c75
|
@ -83,6 +83,8 @@ SHARED_LIBRARY_LIBS += \
|
|||
$(NULL)
|
||||
endif
|
||||
|
||||
EXTRA_DSO_LIBS += mozreg_s
|
||||
|
||||
# Link to gkgfx for GNOME shell service
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT), gtk2)
|
||||
EXTRA_DSO_LIBS += gkgfx
|
||||
|
|
|
@ -79,6 +79,8 @@ ifneq (,$(filter mac cocoa gtk2, $(MOZ_WIDGET_TOOLKIT)))
|
|||
SHARED_LIBRARY_LIBS += ../shell/$(LIB_PREFIX)shellservice_s.$(LIB_SUFFIX)
|
||||
endif
|
||||
|
||||
EXTRA_DSO_LIBS += mozreg_s
|
||||
|
||||
EXTRA_DSO_LDOPTS += \
|
||||
$(LIBS_DIR) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
|
|
|
@ -113,7 +113,10 @@ REQUIRES += mozldap \
|
|||
DEFINES += -DMOZ_LDAP_XPCOM
|
||||
endif
|
||||
|
||||
EXTRA_DSO_LIBS += rdfutil_s
|
||||
EXTRA_DSO_LIBS += \
|
||||
rdfutil_s \
|
||||
mozreg_s \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS = nsMailModule.cpp
|
||||
|
||||
|
|
|
@ -124,10 +124,13 @@ LOCAL_INCLUDES += -I$(srcdir)/../oexpress \
|
|||
endif
|
||||
endif
|
||||
|
||||
EXTRA_DSO_LIBS += mozreg_s
|
||||
|
||||
EXTRA_DSO_LDOPTS += \
|
||||
$(LIBS_DIR) \
|
||||
../../base/util/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX) \
|
||||
$(MOZ_UNICHARUTIL_LIBS) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(MOZ_COMPONENT_LIBS) \
|
||||
$(MOZ_XPCOM_OBSOLETE_LIBS) \
|
||||
$(NULL)
|
||||
|
|
|
@ -62,6 +62,9 @@ FORCE_STATIC_LIB = 1
|
|||
# Force use of PIC
|
||||
FORCE_USE_PIC = 1
|
||||
|
||||
# We do want this in the static libraries list
|
||||
EXPORT_LIBRARY = 1
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
DEFINES += -DUSE_BUFFERED_REGISTRY_IO
|
||||
|
|
|
@ -99,9 +99,7 @@ XPIDLSRCS = nsIFileSpec.idl \
|
|||
# Force use of PIC
|
||||
FORCE_USE_PIC = 1
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DEPTH)/modules/libreg/src/$(LIB_PREFIX)mozreg_s.$(LIB_SUFFIX) \
|
||||
$(NULL)
|
||||
EXTRA_DSO_LIBS = mozreg_s
|
||||
|
||||
# due to symbol conflicts on win32, this needs to be shared
|
||||
ifndef MOZ_ENABLE_LIBXUL
|
||||
|
|
Загрузка…
Ссылка в новой задаче