meson: don't require libelf for r600 without LLVM
authorDylan Baker <dylan@pnwbakers.com>
Mon, 22 Oct 2018 14:26:44 +0000 (07:26 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 22 Oct 2018 18:29:55 +0000 (11:29 -0700)
commit4e785fb383eaa80e7def0d639eddefb781ec3f4f
tree8b3f3db534f17815ee24998a4d200e26ae01d6ff
parentca4e465f7d018f8702ddb5332bf1c892b1808366
meson: don't require libelf for r600 without LLVM

r600 doesn't have a hard requirement on LLVM, and therefore doesn't have
a hard requirement on libelf. Currently the logic doesn't allow that
however.

Distro-bug: https://bugs.gentoo.org/669058
Fixes: 5060c51b6f4dfb0d5358bde6523285163d3faaad
       ("meson: build r600 driver")
Reviewed-by: Matt Turner <mattst88@gmail.com>
meson.build