Commit b80e3e34 authored by Tim Abraldes's avatar Tim Abraldes
Browse files

Bug 747470. Statically link the CRT in webapprt.exe. r=bsmedberg

parent 121bebd3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 =