mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 1423094 - Remove last use of msvcrt='static'. r=gps
--HG-- extra : rebase_source : 27f2d3976c63756b07a5527062892b4218715477
This commit is contained in:
parent
6b3554dc84
commit
d341ad4fd1
@ -4,7 +4,17 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
GeckoProgram('fileid', linkage=None, msvcrt='static')
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
Program('fileid')
|
||||
USE_STATIC_LIBS = True
|
||||
SOURCES += ['win_fileid.cpp']
|
||||
OS_LIBS += ['dbghelp']
|
||||
NO_PGO = True
|
||||
else:
|
||||
# Technically, it's not a GeckoProgram (thus linkage=None), but it needs
|
||||
# mozglue because of the breakpad code it uses being compiled for gecko
|
||||
# and requiring infallible malloc.
|
||||
GeckoProgram('fileid', linkage=None)
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'Linux':
|
||||
USE_LIBS += [
|
||||
@ -28,7 +38,3 @@ if CONFIG['OS_ARCH'] == 'Linux' or CONFIG['OS_ARCH'] == 'Darwin':
|
||||
'/toolkit/crashreporter/google-breakpad/src',
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
SOURCES += ['win_fileid.cpp']
|
||||
OS_LIBS += ['dbghelp']
|
||||
NO_PGO = True
|
||||
|
Loading…
Reference in New Issue
Block a user