mirror of
https://github.com/xemu-project/xemu.git
synced 2026-11-30 01:23:28 +01:00
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:
1 parent
3dd9a470c7
commit
3623bac7ed
3 files changed
+5
-3
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user