mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
qga/wixl: simplify some pre-processing
Sadly, wixl doesn't have 'elif'. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> Message-Id: <20220525144140.591926-14-marcandre.lureau@redhat.com>
This commit is contained in:
parent
be2db8368f
commit
0480a1b67b
1 changed files with 7 additions and 13 deletions
|
@ -1,21 +1,15 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||||
<?ifndef var.Arch?>
|
|
||||||
<?error Define Arch to 32 or 64?>
|
|
||||||
<?endif?>
|
|
||||||
|
|
||||||
<?if $(var.Arch) = "64"?>
|
<?if $(var.Arch) = "64"?>
|
||||||
<?define ArchLib=libgcc_s_seh-1.dll?>
|
<?define ArchLib=libgcc_s_seh-1.dll?>
|
||||||
<?define GaProgramFilesFolder="ProgramFiles64Folder" ?>
|
<?define GaProgramFilesFolder="ProgramFiles64Folder" ?>
|
||||||
<?endif?>
|
<?else?>
|
||||||
|
<?if $(var.Arch) = "32"?>
|
||||||
<?if $(var.Arch) = "32"?>
|
<?define ArchLib=libgcc_s_dw2-1.dll?>
|
||||||
<?define ArchLib=libgcc_s_dw2-1.dll?>
|
<?define GaProgramFilesFolder="ProgramFilesFolder" ?>
|
||||||
<?define GaProgramFilesFolder="ProgramFilesFolder" ?>
|
<?else?>
|
||||||
<?endif?>
|
<?error Unexpected Arch value $(var.Arch)?>
|
||||||
|
<?endif?>
|
||||||
<?ifndef var.ArchLib ?>
|
|
||||||
<?error Unexpected Arch value $(var.Arch)?>
|
|
||||||
<?endif?>
|
<?endif?>
|
||||||
|
|
||||||
<Product
|
<Product
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue