diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2021-12-12 11:42:59 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-12-12 11:44:59 -0500 |
commit | e65aa0ac5a66b19ee2442a0f072c453330c5726b (patch) | |
tree | 21bbee56bc856620ee90c10925f94c17a5fa2c42 /setuptools/_distutils/command/build_ext.py | |
parent | 3aa9e83db97fd70ee643890c270b895324b049bd (diff) | |
parent | 92082ee42c80b4a087053118e493cfa07084d867 (diff) | |
download | python-setuptools-git-debt/deprecate-version.tar.gz |
Merge with pypa/distutils@92082ee42c.debt/deprecate-version
Diffstat (limited to 'setuptools/_distutils/command/build_ext.py')
-rw-r--r-- | setuptools/_distutils/command/build_ext.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/setuptools/_distutils/command/build_ext.py b/setuptools/_distutils/command/build_ext.py index 22628baf..181671bf 100644 --- a/setuptools/_distutils/command/build_ext.py +++ b/setuptools/_distutils/command/build_ext.py @@ -202,9 +202,7 @@ class build_ext(Command): # 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': |