Skip to content

Commit b3ab733

Browse files
committed
system libs fixes
1 parent 2ab9b01 commit b3ab733

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

emcc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1411,7 +1411,7 @@ try:
14111411
if not LEAVE_INPUTS_RAW and \
14121412
not shared.Settings.BUILD_AS_SHARED_LIB and \
14131413
not shared.Settings.SIDE_MODULE: # shared libraries/side modules link no C libraries, need them in parent
1414-
extra_files_to_link = system_libs.calculate(temp_files)
1414+
extra_files_to_link = system_libs.calculate(temp_files, in_temp, stdout, stderr)
14151415
else:
14161416
extra_files_to_link = []
14171417

tools/system_libs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import os, json, logging
22
import shared
3+
from tools.shared import execute
34

4-
def calculate(temp_files):
5+
def calculate(temp_files, in_temp, stdout, stderr):
56
# Check if we need to include some libraries that we compile. (We implement libc ourselves in js, but
67
# compile a malloc implementation and stdlibc++.)
78

0 commit comments

Comments
 (0)