File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1866,7 +1866,6 @@ def find_additional_dependencies(project: pathlib.Path):
1866
1866
# distribution.
1867
1867
# TODO pull from unaltered file
1868
1868
res ["core" ]["links" ] = [
1869
- {"name" : "shlwapi" , "system" : True },
1870
1869
{"name" : "version" , "system" : True },
1871
1870
{"name" : "ws2_32" , "system" : True },
1872
1871
# In addition to the ones explicitly in the project, there are some
@@ -1880,6 +1879,10 @@ def find_additional_dependencies(project: pathlib.Path):
1880
1879
if python_majmin != "3.8" :
1881
1880
res ["core" ]["links" ].append ({"name" : "pathcch" , "system" : True })
1882
1881
1882
+ # shlwapi was dropped from 3.9.9+.
1883
+ if python_majmin != "3.9" :
1884
+ res ["core" ]["links" ].append ({"name" : "shlwapi" , "system" : True })
1885
+
1883
1886
# Copy files for extensions into their own directories.
1884
1887
for ext in sorted (extension_projects ):
1885
1888
dest_dir = out_dir / "build" / "extensions" / ext
Original file line number Diff line number Diff line change 70
70
"license_file" : "LICENSE.cpython.txt" ,
71
71
"python_tag" : "cp39" ,
72
72
},
73
+ # TODO remember to update windows shlwapi link annotation when we upgrade to 3.10.1.
73
74
"cpython-3.10" : {
74
75
"url" : "https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz" ,
75
76
"size" : 18726176 ,
You can’t perform that action at this time.
0 commit comments