Skip to content

Commit 78dbf97

Browse files
committed
If use mingw, use pthread.
1 parent 0919fc3 commit 78dbf97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SCsub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ JS_ENGINE = "quickjs"
88
TOOLS = "editor" == env_module["target"]
99

1010
if env["platform"] == "windows":
11-
if env["CC"] == "gcc" or (env["CC"] == "clang" and env["use_llvm"]):
11+
if env["use_mingw"]:
1212
env.Append(LIBS=["pthread"])
1313

1414

0 commit comments

Comments
 (0)