mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Update default msvccompiler link options to match the options used for core builds.
This ensures that wheels will work when moved to machines that have the same subset of the MSVC libraries as a regular CPython install. Specifically, vcruntime##0.dll may not be installed, and should not be a dependency.
This commit is contained in:
parent
7e94e8ea4b
commit
b465cb50de
1 changed files with 2 additions and 2 deletions
|
@ -207,10 +207,10 @@ class MSVCCompiler(CCompiler) :
|
|||
]
|
||||
|
||||
self.ldflags_shared = [
|
||||
'/nologo', '/DLL', '/INCREMENTAL:NO'
|
||||
'/nologo', '/DLL', '/INCREMENTAL:NO', '/LTCG', '/nodefaultlib:libucrt.lib', 'ucrt.lib'
|
||||
]
|
||||
self.ldflags_shared_debug = [
|
||||
'/nologo', '/DLL', '/INCREMENTAL:no', '/DEBUG:FULL'
|
||||
'/nologo', '/DLL', '/INCREMENTAL:no', '/LTCG', '/DEBUG:FULL', '/nodefaultlib:libucrtd.lib', 'ucrtd.lib'
|
||||
]
|
||||
self.ldflags_static = [
|
||||
'/nologo'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue