mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[python3] Fix wrapper, mark mingw unsupported (#25699)
* Fix python3 wrapper * python3 is unsupported on mingw * Update versions
This commit is contained in:
parent
6d087e76ef
commit
4e7bcf7a99
@ -89,6 +89,9 @@ if(_PythonFinder_WantLibs)
|
||||
find_dependency(Intl)
|
||||
if(TARGET @PythonFinder_PREFIX@::Python)
|
||||
get_target_property(_PYTHON_INTERFACE_LIBS @PythonFinder_PREFIX@::Python INTERFACE_LINK_LIBRARIES)
|
||||
if(NOT _PYTHON_INTERFACE_LIBS)
|
||||
set(_PYTHON_INTERFACE_LIBS "")
|
||||
endif()
|
||||
list(REMOVE_ITEM _PYTHON_INTERFACE_LIBS "-liconv" "-lintl")
|
||||
list(APPEND _PYTHON_INTERFACE_LIBS
|
||||
Iconv::Iconv
|
||||
@ -99,6 +102,9 @@ if(_PythonFinder_WantLibs)
|
||||
endif()
|
||||
if(TARGET @PythonFinder_PREFIX@::Module)
|
||||
get_target_property(_PYTHON_INTERFACE_LIBS @PythonFinder_PREFIX@::Module INTERFACE_LINK_LIBRARIES)
|
||||
if(NOT _PYTHON_INTERFACE_LIBS)
|
||||
set(_PYTHON_INTERFACE_LIBS "")
|
||||
endif()
|
||||
list(REMOVE_ITEM _PYTHON_INTERFACE_LIBS "-liconv" "-lintl")
|
||||
list(APPEND _PYTHON_INTERFACE_LIBS
|
||||
Iconv::Iconv
|
||||
|
@ -1,10 +1,11 @@
|
||||
{
|
||||
"name": "python3",
|
||||
"version": "3.10.5",
|
||||
"port-version": 1,
|
||||
"description": "The Python programming language",
|
||||
"homepage": "https://github.com/python/cpython",
|
||||
"license": "Python-2.0",
|
||||
"supports": "!uwp",
|
||||
"supports": "!uwp & !mingw",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "bzip2",
|
||||
|
@ -5706,7 +5706,7 @@
|
||||
},
|
||||
"python3": {
|
||||
"baseline": "3.10.5",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"qca": {
|
||||
"baseline": "2.3.4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c345c4a8ad91847522188517c68e8f83637f4440",
|
||||
"version": "3.10.5",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "d7c43b7217707bb35a86859d9285496fc2bce8e2",
|
||||
"version": "3.10.5",
|
||||
|
Loading…
x
Reference in New Issue
Block a user