aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-03-24 18:34:19 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2017-03-25 20:30:15 +0200
commit3bb3c9ce52fe10025df04b7aeb169a3981f73377 (patch)
tree59d9de73109fbd69b7e894e5f1b27e996787ed16 /mesonbuild/compilers.py
parent9adef3a8e878958d8408f717efb68e1d36ab3984 (diff)
downloadmeson-3bb3c9ce52fe10025df04b7aeb169a3981f73377.zip
meson-3bb3c9ce52fe10025df04b7aeb169a3981f73377.tar.gz
meson-3bb3c9ce52fe10025df04b7aeb169a3981f73377.tar.bz2
declare_dependency: flatten dependencies kwargs allowing [] as no-op dep
An empty / no-op dependency can be expressed as []. This works with the dependencies kwarg in executable targets such as shared_library, but now with declare_dependency, where it would error out with "error: Dependencies must be external deps" because the deps are not flattened in this case. This patch fixes that. Fixes #1500
Diffstat (limited to 'mesonbuild/compilers.py')
0 files changed, 0 insertions, 0 deletions