https://github.com/kripken/emscripten
Raw File
Tip revision: c6e63f022c4983d365a0d38596370fd75a9d9294 authored by Alon Zakai (kripken) on 02 May 2017, 22:59:48 UTC
don't pass the target buffer into FS.mmap, as it is always HEAPU8, and it may change if malloc reallocates
Tip revision: c6e63f0
emcmake.py
#!/usr/bin/env python2

import os, subprocess, sys
from tools import shared

#
# Main run() function
#
def run():
  configure_path = shared.path_from_root('emconfigure')

  exit(subprocess.call([shared.PYTHON, configure_path] + sys.argv[1:]))

if __name__ == '__main__':
  run()
back to top