We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-pthread
link.txt
1 parent efacbc9 commit 602dde5Copy full SHA for 602dde5
pkg_swift_llvm.py
@@ -80,7 +80,7 @@ def get_libs(configured):
80
ret.static.append((configured / l).absolute())
81
elif l.endswith(".so") or l.endswith(".tbd") or l.endswith(".dylib"):
82
ret.shared.append((configured / l).absolute())
83
- elif l.startswith(("-L", "-Wl", "-l")):
+ elif l.startswith(("-L", "-Wl", "-l")) or l == "-pthread":
84
ret.linker_flags.append(l)
85
else:
86
raise ValueError(f"cannot understand link.txt: " + l)
0 commit comments