Fix dependence on osx
libslirp is missing some explicitly linked system libraries(CoreFoundation、AppKit、Carbon).
Error:
clang: error: no such file or directory: 'CoreFoundation'
clang: error: no such file or directory: 'AppKit'
clang: error: no such file or directory: 'Carbon'
Fix on meson.build
:
if host_system == 'darwin'
vflag += '-framework CoreFoundation -framework AppKit -framework Carbon'
endif
Related vcpkg
issue and PR:
https://github.com/microsoft/vcpkg/issues/35137
https://github.com/microsoft/vcpkg/pull/35139