Merge pull request #33635 from akien-mga/emscripten-fix-1.39.1-support

HTML5: Fix support for Emscripten 1.39.1+
This commit is contained in:
Rémi Verschelde 2019-11-15 10:20:47 +01:00 committed by GitHub
commit fea3890e1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,10 +82,7 @@ def configure(env):
env['CXX'] = 'em++'
env['LINK'] = 'emcc'
# Emscripten's ar has issues with duplicate file names, so use cc.
env['AR'] = 'emcc'
env['ARFLAGS'] = '-o'
# emranlib is a noop, so it's safe to use with AR=emcc.
env['AR'] = 'emar'
env['RANLIB'] = 'emranlib'
# Use TempFileMunge since some AR invocations are too long for cmd.exe.