From dd82c7f84573d72ef66e5614ca2bf15934fe342a Mon Sep 17 00:00:00 2001 From: yabu76 Date: Sat, 25 Apr 2026 10:29:10 +0900 Subject: [PATCH] Fix link error in Haiku OS --- src/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/meson.build b/src/meson.build index 05168f7..d9d206d 100644 --- a/src/meson.build +++ b/src/meson.build @@ -53,6 +53,11 @@ if host_machine.system() == 'darwin' tio_dep += [iokit_dep, corefoundation_dep] endif +if host_machine.system() == 'haiku' + network_dep = meson.get_compiler('c').find_library('network', required:true) + tio_dep += [network_dep] +endif + tio_c_args = ['-Wshadow','-Wno-unused-result'] if enable_setspeed2