diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-03 14:56:00 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-03 14:57:44 -0700 |
commit | f2783ad48564c706713b05bd9f4679340ce8bab4 (patch) | |
tree | c1c4c47055d7b8538a79f58f0d27248c6506909d /src/settings.js | |
parent | dcf8f0c29c17dbe4cc2829573063996a04c54fee (diff) |
refactor dlfcn support into DLFCN
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.js b/src/settings.js index a2267393..79c54c2b 100644 --- a/src/settings.js +++ b/src/settings.js @@ -354,8 +354,8 @@ var LINKABLE = 0; // If set to 1, this file can be linked with others, either as // LINKABLE of 0 is very useful in that we can reduce the size of the // generated code very significantly, by removing everything not actually used. -var DLOPEN_SUPPORT = 0; // Whether to support dlopen(NULL, ...) which enables dynamic access to the - // module's functions and globals. Note that you must use EMSCRIPTEN_KEEPALIVE +var DLOPEN_SUPPORT = 0; // Full support for dlopen. This is necessary for asm.js and for all code + // modes for dlopen(NULL, ...). Note that you must use EMSCRIPTEN_KEEPALIVE // to ensure that functions and globals can be accessed through dlsym, // otherwise LLVM may optimize them out. |