aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-29 12:11:02 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:04 -0700
commit5e360b75ffd58661505c46624b8ccd92aaf13542 (patch)
tree7761f5614c738d5decd853e88b6557ef3a0f06d0 /emcc
parentfd7ca56909bf7a8816af5aaab50ccd9d9bf31280 (diff)
fix non-linking of C libs in side modules
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index c5a3d0c1..4d67de7a 100755
--- a/emcc
+++ b/emcc
@@ -1152,7 +1152,7 @@ try:
if not LEAVE_INPUTS_RAW and not AUTODEBUG and \
not shared.Settings.BUILD_AS_SHARED_LIB == 2 and \
- not shared.Settings.SIDE_MODULE == 2: # shared libraries/side modules link no C libraries, need them in parent
+ not shared.Settings.SIDE_MODULE: # shared libraries/side modules link no C libraries, need them in parent
# Check if we need to include some libraries that we compile. (We implement libc ourselves in js, but
# compile a malloc implementation and stdlibc++.)