aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-08 09:33:35 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-08 09:33:35 -0700
commit2fe530336f840b08b771e155a7e70902a350a742 (patch)
tree3344bebab6ef0b18fd34d823000c9f5621a61b2a
parent40aeae811088d43905f2a9d12cdcced5dd07b2ad (diff)
show an error on NO_DYNAMIC_EXECUTION with embind
-rwxr-xr-xemcc2
1 files changed, 2 insertions, 0 deletions
diff --git a/emcc b/emcc
index 5e57bc37..0dfa5d86 100755
--- a/emcc
+++ b/emcc
@@ -1376,6 +1376,8 @@ try:
if shared.Settings.ASM_JS and shared.Settings.DLOPEN_SUPPORT:
assert shared.Settings.DISABLE_EXCEPTION_CATCHING, 'no exceptions support with dlopen in asm yet'
+ assert not (bind and shared.Settings.NO_DYNAMIC_EXECUTION), 'NO_DYNAMIC_EXECUTION disallows embind'
+
if proxy_to_worker:
shared.Settings.PROXY_TO_WORKER = 1