diff options
Diffstat (limited to 'chardev/meson.build')
-rw-r--r-- | chardev/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chardev/meson.build b/chardev/meson.build index db6840b71a..c80337d15f 100644 --- a/chardev/meson.build +++ b/chardev/meson.build @@ -12,7 +12,7 @@ chardev_ss.add(files( 'char-udp.c', 'char.c', )) -if targetos == 'windows' +if host_os == 'windows' chardev_ss.add(files( 'char-console.c', 'char-win-stdio.c', @@ -23,7 +23,7 @@ else 'char-fd.c', 'char-pty.c', ), util) - if targetos in ['linux', 'gnu/kfreebsd', 'freebsd', 'dragonfly'] + if host_os in ['linux', 'gnu/kfreebsd', 'freebsd', 'dragonfly'] chardev_ss.add(files('char-parallel.c')) endif endif |