Changeset 11551 in vbox for trunk/src/libs/xpcom18a4/Makefile.kmk
- Timestamp:
- Aug 21, 2008 5:16:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r11537 r11551 27 27 endif 28 28 include $(KBUILD_PATH)/subheader.kmk 29 30 # File for filtering out C symbols from the XPCOM library. Used to avoid 31 # symbol namespace pollution, causing trouble with system libraries. 32 XPCOM_C_NAMESPACE_MAP=$(VBOX_PATH_XPCOM_SRC)/xpcom-namespace-cleanup.map 33 34 # @todo check whether VBoxXPCOMIPCC.so or VBoxXPCOMIPCD contain undefined 35 # symbols starting with NS_, PL_, PR_ or XPT. Would move the test time failure 36 # when missing a symbol renaming to a build time failure. Likewise, there 37 # should be a check whether VBoxXPCOM.so contains global C symbols (at least 38 # where the whitelisting of symbols via the map file is not used). 39 29 40 30 41 ifdef VBOX_WITH_PYTHON … … 78 89 XPCOM_DLL_BASE=\"$(basename $(notdir $(LIB_XPCOM)))\" \ 79 90 MOZ_DLL_SUFFIX=\"$(suffix $(LIB_XPCOM))\" 91 ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP 92 TEMPLATE_XPCOM_DEFS += VBOX_WITH_XPCOM_NAMESPACE_CLEANUP 93 endif 80 94 TEMPLATE_XPCOM_DEFS.x86 = i386=1 81 95 TEMPLATE_XPCOM_DEFS.amd64 = HAVE_VA_LIST_AS_ARRAY HAVE_VA_COPY VA_COPY\(a\,b\)=__builtin_va_copy\(a\,b\) … … 1099 1113 VBoxXPCOM_NAME = $(basename $(notdir $(LIB_XPCOM))) 1100 1114 VBoxXPCOM_DEFS = BUILD_DCONNECT="1" _IMPL_NS_COM 1115 ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP 1116 VBoxXPCOM_LDFLAGS.linux = -Wl,--version-script=$(XPCOM_C_NAMESPACE_MAP) 1117 VBoxXPCOM_DEPS.linux += $(XPCOM_C_NAMESPACE_MAP) 1118 VBoxXPCOM_LDFLAGS.solaris = -Wl,-M,$(XPCOM_C_NAMESPACE_MAP) 1119 VBoxXPCOM_DEPS.solaris += $(XPCOM_C_NAMESPACE_MAP) 1120 endif 1101 1121 VBoxXPCOM_SOURCES = \ 1102 1122 xpcom/build/nsXPComInit.cpp \
Note:
See TracChangeset
for help on using the changeset viewer.