Skip to content

Commit

Permalink
Fix library directory path for mingw
Browse files Browse the repository at this point in the history
Use `sys.base_prefix` so that it works in venv
  • Loading branch information
naveen521kk committed Nov 8, 2023
1 parent a0a40fd commit c8d4450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/command/build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def finalize_options(self): # noqa: C901
# building third party extensions
self.library_dirs.append(
os.path.join(
sys.prefix,
sys.base_prefix,
"lib",
"python" + get_python_version(),
config_dir_name,
Expand Down

0 comments on commit c8d4450

Please sign in to comment.