bug 485227 - Don't force link jemalloc on windows ce r=ted, crowder

This commit is contained in:
Brad Lassey 2009-03-31 12:27:25 -04:00
parent 9fd9fa4e9a
commit 3f7cac1ef0
5 changed files with 8 additions and 8 deletions

View File

@ -70,11 +70,12 @@ DIRS += include/sys
ifdef MOZ_MEMORY
REQUIRES = jemalloc
JEMALLOC_LIB = $(DIST)/lib/jemalloc.lib
CFLAGS += -DMOZ_MEMORY
CXXFLAGS += -DMOZ_MEMORY
endif
EXTRA_LIBS += $(JEMALLOC_LIBS)
CPPSRCS = map.cpp
DEFINES += -DMOZCE_SHUNT_EXPORTS

View File

@ -80,9 +80,6 @@ main(int argc, char **argv)
args[i++] = "/LIBPATH:\"" WCE_LIB "\"";
args[i++] = "/LIBPATH:\"" WCE_CRT "\"";
args[i++] = "/NODEFAULTLIB";
#ifdef MOZ_MEMORY
args[i++] = JEMALLOC_LIB;
#endif
#ifdef HAVE_SHUNT // simple test to see if we're in configure or not
if(!getenv("NO_SHUNT")) {
args[i++] = "/LIBPATH:\"" SHUNT_LIB "\"";

View File

@ -15,9 +15,6 @@ main(int argc, char **argv)
args[i++] = "/LIBPATH:\"" WCE_CRT "\"";
args[i++] = "/NODEFAULTLIB";
#ifdef MOZ_MEMORY
args[i++] = JEMALLOC_LIB;
#endif
#ifdef HAVE_SHUNT // simple test to see if we're in configure or not
if(getenv("NO_SHUNT") == NULL) {
args[i++] = "/LIBPATH:\"" SHUNT_LIB "\"";

View File

@ -61,7 +61,11 @@ LIBRARY_NAME = mozjs
STATIC_LIBRARY_NAME = js_static
GRE_MODULE = 1
LIBS = $(NSPR_LIBS)
LIBS = $(NSPR_LIBS)
ifdef WINCE
EXTRA_LIBS += $(JEMALLOC_LIBS)
endif
ifdef GNU_CXX
ifdef INTEL_CXX

View File

@ -56,6 +56,7 @@ LOCAL_INCLUDES += -I$(topsrcdir) -I..
ifdef _MSC_VER
ifdef WINCE
WIN32_EXE_LDFLAGS += -ENTRY:mainACRTStartup
EXTRA_LIBS += $(JEMALLOC_LIBS)
endif
endif