On 15/01/21 16:57, Peter Maydell wrote:
On Fri, 15 Jan 2021 at 15:52, Stefan Weil <s...@weilnetz.de> wrote:
I forgot to mention that some of the problems with the Meson build also
occur on macOS with Homebrew: they always happen when a software package
requires special compiler flags to find its include files or libraries,
but the Meson build does not use the result from pkg-config for them.

Yeah -- we fixed that in commit 3eacf70bb5a83e4 for gnutls, which
is the main one homebrew was running into. Is Windows having
problems with other libs too?

Paolo: did we come up with a generic solution for this or
do we really have to add entries to dependency lists all
over the build system for every library we use?

I will work on a fix in Meson (basically not using -Wl,--whole-archive and instead linking in individual objects). I also have a very ugly way to do the same in QEMU but I don't think it's worth pursuing it except for a proof of concept.

Paolo


Reply via email to