]> git.proxmox.com Git - mirror_qemu.git/commit
scripts/nsis.py: Automatically package required DLLs of QEMU executables
authorBin Meng <bin.meng@windriver.com>
Thu, 8 Sep 2022 13:28:13 +0000 (21:28 +0800)
committerStefan Weil <sw@weilnetz.de>
Mon, 31 Oct 2022 09:06:11 +0000 (10:06 +0100)
commita3c1e6458dbbe3647ccadfb39cbb585fdc4373a5
treedb7d4f704001b83ffea578249c41fb32656290c9
parent93dbca2ce9f112ee8bfd641fa2ea6ff0771c6c39
scripts/nsis.py: Automatically package required DLLs of QEMU executables

At present packaging the required DLLs of QEMU executables is a
manual process, and error prone.

Actually build/config-host.mak contains a GLIB_BINDIR variable
which is the directory where glib and other DLLs reside. This
works for both Windows native build and cross-build on Linux.
We can use it as the search directory for DLLs and automate
the whole DLL packaging process.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20220908132817.1831008-4-bmeng.cn@gmail.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
meson.build
scripts/nsis.py