On 04/01/21 14:21, Peter Maydell wrote:
The rest of QEMU should only ever be using QEMU's TLS abstractions
and not directly be tied to GNUTLS. So ideally the gnutls flags
should only ever be added in the crypto/meson.build, and anything
which depends on that should then get the flags indirectly.
Unfortunately include/crypto/tlscreds.h leaks this implementation
detail

That is not a problem. As Daniel said, anything depending on crypto can still get the gnutls flags _indirectly_.

In my proposed solution to the bug you'd get that via

    io_ss.add(crypto, qom)
    libio = static_library(..., dependencies: io_ss.dependencies())

for example.

Paolo


Reply via email to