Fix setspeed2 compilation

This commit is contained in:
Martin Lund 2022-02-15 03:47:24 +01:00
parent 1ae889fdb2
commit 3d08787142

View file

@ -13,12 +13,16 @@ tio_sources = [
'print.c'
]
tio_c_args = []
if enable_setspeed2
tio_sources += 'setspeed2.c'
tio_c_args += '-DHAVE_TERMIOS2'
endif
executable('tio',
tio_sources,
c_args: tio_c_args,
install: true )
subdir('bash-completion')