aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-03-03 15:53:29 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-03-03 15:53:29 +0200
commit10bdd11e2ded797af6d953a020f3f6824bdd7604 (patch)
treef5b05b60e3b929fad30988b3a1aac0b924fdd495 /environment.py
parent5dc2d166158f01bb32551efcbaff0adec8fcfa3f (diff)
downloadmeson-10bdd11e2ded797af6d953a020f3f6824bdd7604.zip
meson-10bdd11e2ded797af6d953a020f3f6824bdd7604.tar.gz
meson-10bdd11e2ded797af6d953a020f3f6824bdd7604.tar.bz2
A few more fixes for OSX.
Diffstat (limited to 'environment.py')
-rwxr-xr-xenvironment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.py b/environment.py
index b757ba4..51000c4 100755
--- a/environment.py
+++ b/environment.py
@@ -334,7 +334,7 @@ class Environment():
def detect_ccache(self):
try:
has_ccache = subprocess.call(['ccache', '--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- except FileNotFoundError:
+ except OSError:
has_ccache = 1
if has_ccache == 0:
cmdlist = ['ccache']