aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
authorAnthony Pesch <inolen@gmail.com>2013-08-15 13:20:02 -0700
committerAnthony Pesch <inolen@gmail.com>2013-08-19 07:48:50 -0700
commitf6416d822bd5178065272877505de4428b4aee2a (patch)
treec4fb09be52166770690126e2d619c5e2518f53a7 /src/compiler.js
parent19047555b54a8190a927e77f2d1c73410ad4fd0a (diff)
re-enabled non-asm.js shared lib support
Diffstat (limited to 'src/compiler.js')
-rw-r--r--src/compiler.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 365ff32f..7595981b 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -185,8 +185,7 @@ if (ASM_JS) {
assert(!ALLOW_MEMORY_GROWTH, 'Cannot grow asm.js heap');
assert((TOTAL_MEMORY&(TOTAL_MEMORY-1)) == 0, 'asm.js heap must be power of 2');
}
-assert(!BUILD_AS_SHARED_LIB, 'shared libs are deprecated');
-//assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB), 'shared libraries must have named globals');
+assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB), 'shared libraries must have named globals');
// Output some info and warnings based on settings