Bug 1080388 - Disable XP related static linking for firefox.exe when MOZ_METRO is defined. r=mh+mozilla, f=dmajor,alessarik

This commit is contained in:
Jim Mathies 2014-10-23 14:28:24 -05:00
Родитель f19bceb6be
Коммит 4f957bcd23
1 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -30,10 +30,11 @@ LOCAL_INCLUDES += [
'/xpcom/build',
]
DELAYLOAD_DLLS += [
'mozglue.dll',
]
USE_STATIC_LIBS = True
if not CONFIG['MOZ_METRO']:
DELAYLOAD_DLLS += [
'mozglue.dll',
]
USE_STATIC_LIBS = True
if CONFIG['_MSC_VER']:
# Always enter a Windows program through wmain, whether or not we're
@ -55,7 +56,7 @@ if CONFIG['OS_ARCH'] == 'WINNT':
if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
LDFLAGS += ['/HEAP:0x40000']
if CONFIG['OS_ARCH'] == 'WINNT':
if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['MOZ_METRO']:
USE_LIBS += [
'mozglue',
'xpcomglue_staticruntime',