diff options
-rwxr-xr-x | emcc | 2 | ||||
-rw-r--r-- | tools/system_libs.py | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1411,7 +1411,7 @@ try: if not LEAVE_INPUTS_RAW 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 - extra_files_to_link = system_libs.calculate(temp_files) + extra_files_to_link = system_libs.calculate(temp_files, in_temp, stdout, stderr) else: extra_files_to_link = [] diff --git a/tools/system_libs.py b/tools/system_libs.py index 42c9d67c..28a62f89 100644 --- a/tools/system_libs.py +++ b/tools/system_libs.py @@ -1,7 +1,8 @@ import os, json, logging import shared +from tools.shared import execute -def calculate(temp_files): +def calculate(temp_files, in_temp, stdout, stderr): # Check if we need to include some libraries that we compile. (We implement libc ourselves in js, but # compile a malloc implementation and stdlibc++.) |