Skip to content

Commit 602dde5

Browse files
author
Paolo Tranquilli
committed
Allow -pthread in link.txt
1 parent efacbc9 commit 602dde5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg_swift_llvm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def get_libs(configured):
8080
ret.static.append((configured / l).absolute())
8181
elif l.endswith(".so") or l.endswith(".tbd") or l.endswith(".dylib"):
8282
ret.shared.append((configured / l).absolute())
83-
elif l.startswith(("-L", "-Wl", "-l")):
83+
elif l.startswith(("-L", "-Wl", "-l")) or l == "-pthread":
8484
ret.linker_flags.append(l)
8585
else:
8686
raise ValueError(f"cannot understand link.txt: " + l)

0 commit comments

Comments
 (0)