meson build issues due to Linux-only features
I've tried the meson build on NetBSD and found the following issues:
- Linux Input is enabled even though it is not Linux; this makes the build fail with
../modules/controller-linux-input.c:30:10: fatal error: linux/input.h: No such file or directory
30 | #include <linux/input.h>
| ^~~~~~~~~~~~~~~
- NetBSD does not provide libdl. The dl*() functions are in libc directly. The meson build expected libdl to be there. The meson build should test if using dlopen() needs libdl or not.