diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-12 05:15:38 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-12 05:15:38 -0500 |
| commit | d7b783a4b8b01e58135e40bd9a1db8a82c090982 (patch) | |
| tree | 19f75949414a1f6942e59fd69e9a1e86f469ea5a /setuptools/_distutils/command/build_ext.py | |
| parent | 5b75de07169ef13952a5ab48e0b8bc15f31d0c37 (diff) | |
| parent | ce9ddd528a9e2507d3ae794f4d26f6a46d06d025 (diff) | |
| download | python-setuptools-git-d7b783a4b8b01e58135e40bd9a1db8a82c090982.tar.gz | |
Merge branch 'main' into debt/remove-legacy-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': |
