meson.build: only build the tools where getopt.h is available
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 9 Jul 2020 03:31:20 +0000 (13:31 +1000)
committerRan Benita <ran@unusedvar.com>
Sat, 25 Jul 2020 08:05:14 +0000 (11:05 +0300)
commit10a881a499e91883c8f19c59c9ac6e31d0af8874
treea3cb5684d7ae8cfdea2db7b6872573bcacdaca71
parent76d847ac24137de081308e503311ff784b294805
meson.build: only build the tools where getopt.h is available

Windows doesn't have getopt.h. This would prevent building the tools but
they are behind other checks that cause them to be disabled. The only tools
that don't need getopt.h  are interactive-wayland and interactive-x11 but
neither is particularly useful on Windows. Just hide all tools behind the getopt
check in preparation for the upcoming tool consolidation work.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
meson.build