Skip to content

Commit 0919fc3

Browse files
committed
Add pthread for mingw.
1 parent 23ba457 commit 0919fc3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SCsub

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ env_module = env_modules.Clone()
77
JS_ENGINE = "quickjs"
88
TOOLS = "editor" == env_module["target"]
99

10+
if env["platform"] == "windows":
11+
if env["CC"] == "gcc" or (env["CC"] == "clang" and env["use_llvm"]):
12+
env.Append(LIBS=["pthread"])
13+
1014

1115
def open_file(path, mode):
1216
if platform.python_version() > "3":

0 commit comments

Comments
 (0)