From 47827f094bb5683e11aa1ca436433c236928505c Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Sun, 11 Sep 2022 12:51:48 +0200 Subject: [PATCH] Fix compilation error on systems without RS-485 support --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index bebe86b..0291474 100644 --- a/meson.build +++ b/meson.build @@ -72,6 +72,7 @@ foreach rate : test_baudrates endforeach # Test for RS-485 support on Linux +enable_rs485 = false if host_machine.system() == 'linux' if compiler.check_header('linux/serial.h') enable_rs485 = compiler.has_header_symbol('sys/ioctl.h', 'TIOCSRS485')