diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2022-08-21 16:18:20 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2022-08-21 16:18:20 +0200 |
commit | 9079e77d4ca8fedc62c2040f691dfd2e7205217d (patch) | |
tree | 6ed66116e1e15c2c3c4feee6f2c3ac86843d2269 | |
parent | c802880bfba39d3072599eef2e0f34568f93e6cd (diff) | |
download | python-setuptools-git-9079e77d4ca8fedc62c2040f691dfd2e7205217d.tar.gz |
Fix, again, finding headers during cross compiling
-rw-r--r-- | distutils/sysconfig.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distutils/sysconfig.py b/distutils/sysconfig.py index aae9c1b3..4b722043 100644 --- a/distutils/sysconfig.py +++ b/distutils/sysconfig.py @@ -165,9 +165,8 @@ def _get_python_inc_from_config(plat_specific, spec_prefix): platform Python installation, while the current Python executable is from the build platform installation. """ - if not spec_prefix: - return - return get_config_var('CONF' * plat_specific + 'INCLUDEPY') + if spec_prefix is None: + return get_config_var('CONF' * plat_specific + 'INCLUDEPY') def _get_python_inc_posix_prefix(prefix): |