diff options
author | Armin Rigo <arigo@tunes.org> | 2015-04-30 01:22:32 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2015-04-30 01:22:32 +0200 |
commit | 4db697afd405aa72ce40b532935299e88e188f35 (patch) | |
tree | bb49f186e9ba762dcb2a76ddc5916fd2c6dc39e7 /setup.py | |
parent | 083de8d165c6c2bcf952f0fb19e0fbf8c24c31da (diff) | |
parent | f935a21b2edf14aa2df8379f8256ffcc3f4f0f9e (diff) | |
download | cffi-4db697afd405aa72ce40b532935299e88e188f35.tar.gz |
hg merge default
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ def _ask_pkg_config(resultlist, option, result_prefix='', sysroot=False): p = subprocess.Popen([pkg_config, option, 'libffi'], stdout=subprocess.PIPE) except OSError as e: - if e.errno != errno.ENOENT: + if e.errno not in [errno.ENOENT, errno.EACCES]: raise else: t = p.stdout.read().decode().strip() |