File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,29 @@ def _build_extensions() -> list[Extension]:
159159 extra_compile_args .append ("-pipe" )
160160
161161 if platform .system () == "Windows" :
162- extra_link_args .append ("/WHOLEARCHIVE" )
162+ extra_link_args += [
163+ "AdvAPI32.Lib" ,
164+ "bcrypt.lib" ,
165+ "Crypt32.lib" ,
166+ "Iphlpapi.lib" ,
167+ "Kernel32.lib" ,
168+ "ncrypt.lib" ,
169+ "Netapi32.lib" ,
170+ "ntdll.lib" ,
171+ "Ole32.lib" ,
172+ "OleAut32.lib" ,
173+ "Pdh.lib" ,
174+ "PowrProf.lib" ,
175+ "Propsys.lib" ,
176+ "Psapi.lib" ,
177+ "runtimeobject.lib" ,
178+ "schannel.lib" ,
179+ "secur32.lib" ,
180+ "Shell32.lib" ,
181+ "User32.Lib" ,
182+ "UserEnv.Lib" ,
183+ "WS2_32.Lib" ,
184+ ]
163185
164186 print ("Creating C extension modules..." )
165187 print (f"define_macros={ define_macros } " )
You can’t perform that action at this time.
0 commit comments