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:
bryner%netscape.com 2003-01-06 07:13:49 +00:00
parent abb8e36813
commit 71b5ac7d73
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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