qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

--prefix gets lost on config regen for cross Windows build


From: Matheus Tavares Bernardino
Subject: --prefix gets lost on config regen for cross Windows build
Date: Fri, 27 Oct 2023 10:59:31 -0300

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

[Prev in Thread] Current Thread [Next in Thread]