mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[python3] Fix venvlauncher patch (#42414)
This commit is contained in:
parent
eb61a953b1
commit
3ccf424292
@ -1,13 +1,9 @@
|
||||
diff --git a/PC/launcher.c b/PC/launcher.c
|
||||
index 734e75333..7124927cf 100644
|
||||
--- a/PC/launcher.c
|
||||
+++ b/PC/launcher.c
|
||||
@@ -2015,7 +2015,7 @@ installed, use -0 for available pythons", &p[1]);
|
||||
return rc;
|
||||
}
|
||||
|
||||
-#if defined(_WINDOWS)
|
||||
+#if !defined(_CONSOLE) // _WINDOWS is defined by the vcpkg toolchain
|
||||
|
||||
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||
LPWSTR lpstrCmd, int nShow)
|
||||
@@ -1,3 +1,6 @@
|
||||
+#if defined(_CONSOLE)
|
||||
+#undef _WINDOWS
|
||||
+#endif
|
||||
/*
|
||||
* Copyright (C) 2011-2013 Vinay Sajip.
|
||||
* Licensed to PSF under a contributor agreement.
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "python3",
|
||||
"version": "3.11.10",
|
||||
"port-version": 1,
|
||||
"description": "The Python programming language",
|
||||
"homepage": "https://github.com/python/cpython",
|
||||
"license": "Python-2.0",
|
||||
|
@ -7310,7 +7310,7 @@
|
||||
},
|
||||
"python3": {
|
||||
"baseline": "3.11.10",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"qca": {
|
||||
"baseline": "2.3.7",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fb875e2bc4bc24f25891d298de7b7358411d044b",
|
||||
"version": "3.11.10",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "62c1ff180dae6af1ba4aff966bd87f9683c6d8f1",
|
||||
"version": "3.11.10",
|
||||
|
Loading…
x
Reference in New Issue
Block a user