aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-15 15:24:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-15 15:24:54 -0700
commit6e7a7aa3e8c2096463fed1f24d561557f49787f8 (patch)
treef81ea4377db6d4fd1b002cb55875d2291b71b62e /emcc
parent9bf755607fc7a0e7f446a5e2d6c82738d77d876f (diff)
parent61c31f69359132e7630a9c4c2c3d25a6ed742247 (diff)
Merge branch 'self-dlopen' of github.com:int3/emscripten into incoming
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc3
1 files changed, 3 insertions, 0 deletions
diff --git a/emcc b/emcc
index bffe8d5d..895aab87 100755
--- a/emcc
+++ b/emcc
@@ -1077,6 +1077,9 @@ try:
shared.Settings.LINKABLE = 1 # TODO: add FORCE_DCE option for the brave people that do want to dce here and in side modules
debug_level = max(debug_level, 2)
+ if shared.Settings.DLOPEN_SUPPORT:
+ shared.Settings.LINKABLE = 1
+
## Compile source code to bitcode
logging.debug('compiling to bitcode')