Bug 1023941 - Part 1: Static-link the CRT into firefox.exe. r=glandium

--HG--
extra : rebase_source : ccd5c327951dbb41d4b081c73bd2bdea0f84fdae
This commit is contained in:
David Major 2014-08-05 15:50:39 +12:00
parent ba0aa4478a
commit 64cc9feacf

View File

@ -30,6 +30,11 @@ LOCAL_INCLUDES += [
'/xpcom/build',
]
DELAYLOAD_DLLS += [
'mozglue.dll',
]
USE_STATIC_LIBS = True
if CONFIG['_MSC_VER']:
# Always enter a Windows program through wmain, whether or not we're
# a console application.
@ -50,9 +55,15 @@ if CONFIG['OS_ARCH'] == 'WINNT':
if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
LDFLAGS += ['/HEAP:0x40000']
USE_LIBS += [
'xpcomglue',
]
if CONFIG['OS_ARCH'] == 'WINNT':
USE_LIBS += [
'mozglue',
'xpcomglue_staticruntime',
]
else:
USE_LIBS += [
'xpcomglue',
]
DISABLE_STL_WRAPPING = True