meson: Remove check-compilation.sh
authorJan Janssen <medhefgo@web.de>
Mon, 2 May 2022 08:55:53 +0000 (10:55 +0200)
committerJan Janssen <medhefgo@web.de>
Wed, 4 May 2022 13:59:51 +0000 (15:59 +0200)
commit911c15087ccf2886a5a10e030511c97b07cd8fbd
tree5eaf2a0cfc5c87cd0e33173ebdb0d1d593bff17c
parent3d35c6d47e8c6dab9f1eef738231cce605d0f923
meson: Remove check-compilation.sh

No need to involve a trivial shell script for this.

We could call the compiler directly, but test() expects arguments
to be passed separately and cc.cmd_array() can contain arguments
itself. Using env is easier than manually slicing the array because
meson has no builtins for that.
meson.build
src/systemd/meson.build
tools/check-compilation.sh [deleted file]