Skip to content

Commit

Permalink
Merge pull request #42 from imba-tjd/patch-2
Browse files Browse the repository at this point in the history
sys._home -> sys.base_exec_prefix
  • Loading branch information
jaraco authored Dec 12, 2021
2 parents 8f2df0b + b599af3 commit bb74c98
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions distutils/command/build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,7 @@ def finalize_options(self):
# Append the source distribution include and library directories,
# this allows distutils on windows to work in the source tree
self.include_dirs.append(os.path.dirname(get_config_h_filename()))
_sys_home = getattr(sys, '_home', None)
if _sys_home:
self.library_dirs.append(_sys_home)
self.library_dirs.append(sys.base_exec_prefix)

# Use the .lib files for the correct architecture
if self.plat_name == 'win32':
Expand Down

0 comments on commit bb74c98

Please sign in to comment.