<div dir="ltr"><div dir="ltr">Hi<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 12, 2021 at 3:52 PM Philippe Mathieu-Daudé <<a href="mailto:philmd@redhat.com">philmd@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Joelle,<br>
<br>
On 1/5/21 3:20 AM, Joelle van Dyne wrote:<br>
> A future libslirp update will use libresolv on Darwin systems, so we add the<br>
> flags in QEMU build now.<br>
> <br>
> Reviewed-by: Stefan Hajnoczi <<a href="mailto:stefanha@redhat.com" target="_blank">stefanha@redhat.com</a>><br>
> Signed-off-by: Joelle van Dyne <j@getutm.app><br>
> ---<br>
>  meson.build | 2 ++<br>
>  1 file changed, 2 insertions(+)<br>
> <br>
> diff --git a/meson.build b/meson.build<br>
> index 900dbc36c8..d8951d4d6c 100644<br>
> --- a/meson.build<br>
> +++ b/meson.build<br>
> @@ -1205,6 +1205,8 @@ if have_system<br>
>      slirp_deps = []<br>
>      if targetos == 'windows'<br>
>        slirp_deps = cc.find_library('iphlpapi')<br>
> +    elif targetos == 'darwin'<br>
> +      slirp_deps = cc.find_library('resolv')<br>
<br>
This is done in libSLiRP commit 9f82a47 ("Add DNS resolving for iOS").<br>
<br>
Maybe this commit need to be backported in the stable branch,<br>
or QEMU should use a newer commit. Cc'ing Samuel and Marc-André<br>
who maintain the project (and the SLiRP list).<br></blockquote><div><br></div>Yes, I am going to send an update to git upstream.</div><div class="gmail_quote"><br></div><div class="gmail_quote">thanks</div><div class="gmail_quote"><br></div>-- <br><div dir="ltr" class="gmail_signature">Marc-André Lureau<br></div></div>