diff options
Diffstat (limited to 'em++')
-rwxr-xr-x | em++ | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -5,13 +5,8 @@ See emcc.py. This script forwards to there, noting that we want C++ and not C by ''' import os, sys +from tools import shared -__rootpath__ = os.path.abspath(os.path.dirname(__file__)) -def path_from_root(*pathelems): - return os.path.join(__rootpath__, *pathelems) -exec(open(path_from_root('tools', 'shared.py'), 'r').read()) - -emmaken = path_from_root('tools', 'emmaken.py') os.environ['EMMAKEN_CXX'] = '1' -exit(os.execvp('python', ['python', emmaken] + sys.argv[1:])) +exit(os.execvp(shared.EMCC, [shared.EMCC] + sys.argv[1:])) |