Fix library output of llvm-config

This commit is contained in:
Jeremy Soller 2018-12-31 18:30:32 -07:00
parent a530592329
commit c7e98955d6
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -118,8 +118,7 @@ elif args[0] == "--libs":
libs = []
for component in args[1:]:
for lib in components[component].split(" "):
if not lib in libs:
libs.append(lib)
libs.append(lib)
print(" ".join(libs))
elif args[0] == "--shared-mode":
print("static")