Skip to content
Snippets Groups Projects
Commit b10dae19 authored by Andrea Shepard's avatar Andrea Shepard
Browse files

Don't pass --system-libs to old llvm-config

parent 0e5f32e6
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,8 @@ testenv.ParseConfig('pkg-config --cflags --libs glib-2.0')
testenv_llvm_config_version = subprocess.Popen('%s --version' % env["LLVM_CONFIG"], \
shell=True, \
stdin=subprocess.PIPE, stdout=subprocess.PIPE).communicate()
if LooseVersion(testenv_llvm_config_version[0]) < LooseVersion("3.9"):
if LooseVersion(testenv_llvm_config_version[0]) < LooseVersion("3.9") and \
LooseVersion(testenv_llvm_config_version[0]) >= LooseVersion("3.5"):
testenv_llvm_system_libs_flag = "--system-libs"
else:
testenv_llvm_system_libs_flag = ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment