aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-07 11:32:53 -0500
committerAlon Zakai <alonzakai@gmail.com>2014-02-07 11:32:53 -0500
commitf546a415cce6679c7cf30010c175b8ced164896f (patch)
treeecbe8c102a93ff40cd8a3d389db8f6e5d8fb1bca
parent484a2d3a162d27ee957b29f8f6ffc721c98745e1 (diff)
do not include system libs in shared libs
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 67f9bd90..cb505682 100755
--- a/emcc
+++ b/emcc
@@ -1411,7 +1411,7 @@ try:
extra_files_to_link = []
if not LEAVE_INPUTS_RAW and \
- not shared.Settings.BUILD_AS_SHARED_LIB == 2 and \
+ not shared.Settings.BUILD_AS_SHARED_LIB and \
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