build/win32: fix mkvenv wheel path and C++ header include order

Fix Windows build issues in both Python env setup and UI C++ headers.

- Use a plain path for pip --find-links in python/scripts/mkvenv.py instead of a file:// URL, which is unreliable on Windows paths.
- Move qemu/osdep.h outside extern "C" blocks in ui/xemu-snapshots.h and ui/xui/common.hh so C++ compilation sees expected declarations/types without C-linkage wrapping side effects.
This commit is contained in:
oltolm authored and mborgerson committed 2026-06-08 23:30:24 -07:00
1 parent 3dd9a470c7
commit 3623bac7ed
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -683,7 +683,7 @@ def pip_install(
if not online:
full_args += ["--no-index"]
if wheels_dir:
full_args += ["--find-links", f"file://{str(wheels_dir)}"]
full_args += ["--find-links", f"{wheels_dir}"]
full_args += list(args)
subprocess.run(
full_args,