From b80e3e34f14f43f997ddd74149f67d64ae9a5afe Mon Sep 17 00:00:00 2001 From: Tim Abraldes Date: Tue, 24 Apr 2012 16:44:36 -0400 Subject: [PATCH] Bug 747470. Statically link the CRT in webapprt.exe. r=bsmedberg --- webapprt/win/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapprt/win/Makefile.in b/webapprt/win/Makefile.in index 8f0cc0e4faea..94469db49758 100644 --- a/webapprt/win/Makefile.in +++ b/webapprt/win/Makefile.in @@ -7,13 +7,15 @@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ -include $(topsrcdir)/config/config.mk +include $(DEPTH)/config/autoconf.mk # Build a binary bootstrapping with XRE_main PROGRAM = webapprt-stub$(BIN_SUFFIX) CPPSRCS = webapprt.cpp +# Statically link against the CRT +USE_STATIC_LIBS = 1 # Don't create a dependency on mozglue, which is impossible (difficult?) # to dynamically link into our executable, as we copy it to arbitrary locations. MOZ_GLUE_LDFLAGS =