diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-05 17:57:54 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-05 17:57:54 -0800 |
commit | 0591fabb67954257cfa3a024b78f46a392fd4a31 (patch) | |
tree | f987a75683a7fd3ec726ab3182ff84872d14bbd8 /src/settings.js | |
parent | b2c5374402ae4e952c652772e9907a8f1c0efec9 (diff) |
support for external variables in runtime linking
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/settings.js b/src/settings.js index 5aa647b2..0964d4bb 100644 --- a/src/settings.js +++ b/src/settings.js @@ -179,10 +179,7 @@ var BUILD_AS_SHARED_LIB = 0; // Whether to build the code as a shared library, w // 1 means this is a normal shared lib. // 2 means this is a shared lib that will be linked at runtime, // which means it will insert its functions into - // the global namespace. See STATIC_LIBS_TO_LOAD. Note - // that only functions are exported, not globals, since - // in a naive implementation they can easily override main's - // symbols (for example, the global strings, _str1 etc.). + // the global namespace. See STATIC_LIBS_TO_LOAD. var RUNTIME_LINKED_LIBS = []; // If this is a main file (BUILD_AS_SHARED_LIB == 0), then // we will link these at runtime. They must have been built with // BUILD_AS_SHARED_LIB == 2. |