Skip to content

Commit 2afd56e

Browse files
Fix Rust's LLVM.
1 parent 47f70b2 commit 2afd56e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/mklldeps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def run(args):
6565
elif lib[0] == '-':
6666
lib = lib.strip()[1:]
6767
f.write("#[link(name = \"" + lib + "\"")
68-
if not llvm_shared:
68+
if not llvm_shared and 'LLVM' in lib:
6969
f.write(", kind = \"static\"")
7070
f.write(")]\n")
7171

0 commit comments

Comments
 (0)