We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02fa3ff commit 95d5e05Copy full SHA for 95d5e05
1 file changed
setup.py
@@ -55,12 +55,13 @@ def _parse_path_env(name):
55
for libdir in library_dirs:
56
extra_link_args.append(f"-Wl,-rpath,{libdir}")
57
58
-if sys.platform == "win32":
59
- for libdir in library_dirs:
60
- extra_link_args.append(f"/LIBPATH:{libdir}")
+# if sys.platform == "win32":
+# for libdir in library_dirs:
+# extra_link_args.append(f"/LIBPATH:{libdir}")
61
62
extra_compile_args = []
63
if sys.platform == "win32":
64
+ # Remove the manual /LIBPATH addition, setuptools handles library_dirs
65
extra_compile_args.extend(["/O2"])
66
else:
67
extra_compile_args.extend(["-O3"])
0 commit comments