[build] fix SCons pkg-config err handling (fixes #3066)
(thx elchenberg) x-ref: "OSError in SConstruct on Alpine Linux" https://redmine.lighttpd.net/issues/3066
This commit is contained in:
parent
4a600dabd5
commit
165600498b
|
@ -140,6 +140,8 @@ class Autoconf:
|
|||
try:
|
||||
self.conf.env.ParseConfig(*args, **kw)
|
||||
return True
|
||||
except OSError:
|
||||
return False
|
||||
except Exception as e:
|
||||
print(e.message, file=sys.stderr)
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue