зеркало из https://github.com/mozilla/gecko-dev.git
Second try for bug 187732. Post-process component libraries on OS X using nmedit to control which symbols are exported. r=cls.
This commit is contained in:
Родитель
abb8e36813
Коммит
71b5ac7d73
|
@ -988,6 +988,11 @@ ifdef RESFILE
|
|||
endif
|
||||
endif # OS2
|
||||
chmod +x $@
|
||||
ifndef NO_COMPONENT_LINK_MAP
|
||||
ifeq ($(OS_ARCH)_$(IS_COMPONENT),Darwin_1)
|
||||
nmedit -s $(BUILD_TOOLS)/gnu-ld-scripts/components-export-list $@
|
||||
endif
|
||||
endif
|
||||
ifdef ENABLE_STRIP
|
||||
$(STRIP) $@
|
||||
endif
|
||||
|
|
|
@ -33,7 +33,7 @@ ifdef _BUILD_BUNDLE
|
|||
IS_COMPONENT = 1
|
||||
DLL_SUFFIX = .bundle
|
||||
NO_DIST_INSTALL = 1
|
||||
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS=
|
||||
NO_COMPONENT_LINK_MAP = 1
|
||||
endif
|
||||
|
||||
# Do not set EXPORT_LIBRARY as we do not want xpcom in the static libs list
|
||||
|
|
Загрузка…
Ссылка в новой задаче