aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-06-09 12:58:32 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-06-09 20:21:01 +0530
commited6a5abee853ed5e4d8c1826b17a0dc29843cd6a (patch)
treec1afa8a20ff77ae28329206a98f677bb802eaa93 /mesonbuild/compilers.py
parent627190faf39781dba197fab0849adff208a5bb96 (diff)
downloadmeson-ed6a5abee853ed5e4d8c1826b17a0dc29843cd6a.zip
meson-ed6a5abee853ed5e4d8c1826b17a0dc29843cd6a.tar.gz
meson-ed6a5abee853ed5e4d8c1826b17a0dc29843cd6a.tar.bz2
find_library: link_args is always a list
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r--mesonbuild/compilers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index c9cfb46..977b7c4 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -1773,7 +1773,7 @@ class ValaCompiler(Compiler):
for d in extra_dirs:
vapi = os.path.join(d, libname + '.vapi')
if os.path.isfile(vapi):
- return vapi
+ return [vapi]
mlog.debug('Searched {!r} and {!r} wasn\'t found'.format(extra_dirs, libname))
return None