Skip to content

Commit 95d5e05

Browse files
authored
Comment out Windows library path handling
Comment out the Windows library path handling in setup.py.
1 parent 02fa3ff commit 95d5e05

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ def _parse_path_env(name):
5555
for libdir in library_dirs:
5656
extra_link_args.append(f"-Wl,-rpath,{libdir}")
5757

58-
if sys.platform == "win32":
59-
for libdir in library_dirs:
60-
extra_link_args.append(f"/LIBPATH:{libdir}")
58+
# if sys.platform == "win32":
59+
# for libdir in library_dirs:
60+
# extra_link_args.append(f"/LIBPATH:{libdir}")
6161

6262
extra_compile_args = []
6363
if sys.platform == "win32":
64+
# Remove the manual /LIBPATH addition, setuptools handles library_dirs
6465
extra_compile_args.extend(["/O2"])
6566
else:
6667
extra_compile_args.extend(["-O3"])

0 commit comments

Comments
 (0)