Hi,

It seems that we lose the install prefix option when regenerating config
for a Windows cross-build. Looks like this behavior appeared with c36dd41ba2
(configure: move target-specific defaults to an external machine file,
2023-10-16), but I couldn't find the specific root cause yet.

To reproduce the issue, first run:

    ../configure --prefix=/tmp/install --without-default-features \
        --cross-prefix=x86_64-w64-mingw32- --target-list=aarch64-softmmu

Which correctly prints:

    Directories
        [...]
        Install prefix: /tmp/install

But then if we run `touch ../meson.build && make`, we get:

    Directories
        [...]
        Install prefix: /qemu

Reverting c36dd41ba2 does fix the issue, but I couldn't yet find what
is causing this among the changes. Or even if it could be a meson bug
itself. I'd appreciate any help.

Thanks,
Matheus

Reply via email to