aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-04 10:32:21 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-04 10:32:21 -0700
commit03d78f8afd6ac1b186a43330a7aaf7ee794127d5 (patch)
tree73dc7d3d5f8d8c78a0b6196be383fca309f598ae
parentc9e6b850aadeeea679a9f03be69e3a4f70b172f4 (diff)
export everything in the main module, so side modules can access it
-rwxr-xr-xemcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/emcc b/emcc
index 37a17ab1..5e57bc37 100755
--- a/emcc
+++ b/emcc
@@ -1347,6 +1347,7 @@ try:
if shared.Settings.MAIN_MODULE:
assert not shared.Settings.SIDE_MODULE
shared.Settings.INCLUDE_FULL_LIBRARY = 1
+ shared.Settings.EXPORT_ALL = 1
elif shared.Settings.SIDE_MODULE:
assert not shared.Settings.MAIN_MODULE