blob: dd6c488ae6e9ca2f6d7a1ad5c524bc504c14cc1e [file] [log] [blame]
// === Auto-generated preamble library stuff ===
//========================================
// Runtime essentials
//========================================
{{{
(function() {
// add in RUNTIME_LINKED_LIBS, if provided
//
// for side module we only set Module.dynamicLibraries - and loading them
// will be handled by dynamic linker runtime in the main module.
if (RUNTIME_LINKED_LIBS.length > 0) {
return "if (!Module['dynamicLibraries']) Module['dynamicLibraries'] = [];\n" +
"Module['dynamicLibraries'] = " + JSON.stringify(RUNTIME_LINKED_LIBS) + ".concat(Module['dynamicLibraries']);\n";
}
return '';
})()
}}}
// === Body ===