kripken/emscripten — Issue #102: Remove implicit dependencies of shared.py
Author: LCID-Fire
Created: 2011-10-20 13:43:14+00:00
State: open

Since I am using SCons to build my project I modified the SConscript to now include *shared.py*. While it works fine it is partially ugly since you have to do stuff like:
```__file__ = str(Dir('#/emscripten/dummy/dummy'))
exec(open(str(Dir('#/emscripten/tools')) + '/shared.py', 'r').read())
```
since *shared.py* does assume it's position I have to declare *__file__* that way. It would be far better to use a variable in *shared.py* which actually contains the root path than to have some hardcoded call dependency