Skip to content

Commit 5e46f3f

Browse files
committed
LLVM < 3.5 is unsupported since bb18a3c
1 parent e959fab commit 5e46f3f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/etc/mklldeps.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,8 @@ def run(args):
4646

4747
f.write("\n")
4848

49-
version = run([llconfig, '--version']).strip()
50-
5149
# LLVM libs
52-
if version < '3.5':
53-
args = [llconfig, '--libs']
54-
else:
55-
args = [llconfig, '--libs', '--system-libs']
50+
args = [llconfig, '--libs', '--system-libs']
5651

5752
args.extend(components)
5853
out = run(args)
@@ -73,11 +68,6 @@ def run(args):
7368
f.write(", kind = \"static\"")
7469
f.write(")]\n")
7570

76-
# llvm-config before 3.5 didn't have a system-libs flag
77-
if version < '3.5':
78-
if os == 'win32':
79-
f.write("#[link(name = \"imagehlp\")]")
80-
8171
# LLVM ldflags
8272
out = run([llconfig, '--ldflags'])
8373
for lib in out.strip().split(' '):

0 commit comments

Comments
 (0)