meson: if dep_dl is an empty list, it's not a dependency object
authorJon Turney <jon.turney@dronecode.org.uk>
Mon, 13 Nov 2017 10:13:54 +0000 (10:13 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Tue, 14 Nov 2017 12:00:25 +0000 (12:00 +0000)
commit7df9a3609a5d8f7db57270d226145f9678749a0b
tree3e12759bebe7eed773064f645205fff0b7528e6f
parent7c255788637b8fdfc31aca5f7891f39a110c5cb2
meson: if dep_dl is an empty list, it's not a dependency object

It's ok to use an empty list for dependencies:, but it's not ok to try to
use the found() method of it.

See also https://github.com/mesonbuild/meson/issues/2324

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build