Bug 1480457 - Address moz.build failures for mingw-clang r=aklotz

--HG--
extra : amend_source : 61f7bfdd7b827d6fd12c16c8ed7cd3c00f5bf09e
This commit is contained in:
Tom Ritter 2018-08-30 23:17:15 +03:00
parent 934ba40bb8
commit 74b5d87cd9
2 changed files with 2 additions and 1 deletions

View file

@ -16,7 +16,7 @@ OS_LIBS += [
'ole32',
]
if CONFIG['OS_TARGET'] == 'WINNT' and CONFIG['CC_TYPE'] == 'gcc':
if CONFIG['OS_TARGET'] == 'WINNT' and CONFIG['CC_TYPE'] in ('gcc', 'clang'):
# This allows us to use wmain as the entry point on mingw
LDFLAGS += [
'-municode',

View file

@ -312,6 +312,7 @@ if CONFIG['OS_ARCH'] == 'WINNT':
'locationapi',
'sapi',
'dxguid',
'dhcpcsvc',
]
if CONFIG['ACCESSIBILITY']:
OS_LIBS += [