diff options
author | Joshua Watt | 2021-01-12 22:02:39 +0100 |
---|---|---|
committer | Paolo Bonzini | 2021-01-21 13:00:41 +0100 |
commit | 15588a62451fc8e911372c52beb9560f2616ca02 (patch) | |
tree | 966b9494ca4e98e05c3b610883d095033fa50e9a /target/i386 | |
parent | runstate: cleanup reboot and panic actions (diff) | |
download | qemu-15588a62451fc8e911372c52beb9560f2616ca02.tar.gz qemu-15588a62451fc8e911372c52beb9560f2616ca02.tar.xz qemu-15588a62451fc8e911372c52beb9560f2616ca02.zip |
configure: MinGW respect --bindir argument
There are two cases that need to be accounted for when compiling QEMU
for MinGW32:
1) A standalone distribution, where QEMU is self contained and
extracted by the user, such as a user would download from the QEMU
website. In this case, all the QEMU executable files should be
rooted in $prefix to ensure they can be easily found by the user
2) QEMU integrated into a distribution image/sysroot/SDK and
distributed with other programs. In this case, the provided
arguments for bindir/datadir/etc. should be respected as they for a
Linux build.
Restructures the MinGW path configuration so that all of the paths
except bindir use the same rules as when building for other platforms.
This satisfies #2 and #1 since these files do not need to be directly in
$prefix anyway.
The handling for --bindir is changed so that it defaults to $prefix on
MinGW (maintaining the compatibility with #1), but if the user specifies
a specific path when configuring it can also satisfy #2.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Message-Id: <20210112210239.28836-1-JPEWhacker@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
0 files changed, 0 insertions, 0 deletions