зеркало из https://github.com/mozilla/pjs.git
Create bundle version of libxpcom for OSX GRE builds.
Bug #186599 r=mcafee
This commit is contained in:
Родитель
58276d38b0
Коммит
29b02ee87c
|
@ -28,6 +28,13 @@ include $(DEPTH)/config/autoconf.mk
|
||||||
|
|
||||||
MODULE = xpcom
|
MODULE = xpcom
|
||||||
LIBRARY_NAME = xpcom
|
LIBRARY_NAME = xpcom
|
||||||
|
|
||||||
|
ifdef _BUILD_BUNDLE
|
||||||
|
IS_COMPONENT = 1
|
||||||
|
DLL_SUFFIX = .bundle
|
||||||
|
NO_DIST_INSTALL = 1
|
||||||
|
endif
|
||||||
|
|
||||||
# Do not set EXPORT_LIBRARY as we do not want xpcom in the static libs list
|
# Do not set EXPORT_LIBRARY as we do not want xpcom in the static libs list
|
||||||
#EXPORT_LIBRARY = 1
|
#EXPORT_LIBRARY = 1
|
||||||
REQUIRES = libreg \
|
REQUIRES = libreg \
|
||||||
|
@ -116,6 +123,17 @@ OS_LIBS += $(LIBICONV)
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
|
ifndef DISABLE_DIST_GRE
|
||||||
|
ifeq ($(OS_ARCH),Darwin)
|
||||||
|
GARBAGE += $(SHARED_LIBRARY:$(DLL_SUFFIX)=.bundle)
|
||||||
|
ifndef _BUILD_BUNDLE
|
||||||
|
libs:: $(SHARED_LIBRARY)
|
||||||
|
$(MAKE) libs _BUILD_BUNDLE=1
|
||||||
|
$(INSTALL) $(LIB_PREFIX)$(LIBRARY_NAME).bundle $(DIST)/gre
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
DEFINES += \
|
DEFINES += \
|
||||||
-D_IMPL_NS_COM \
|
-D_IMPL_NS_COM \
|
||||||
-DEXPORT_XPT_API \
|
-DEXPORT_XPT_API \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче