diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-02-06 13:14:32 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-02-07 12:43:46 -0500 |
commit | 165600498b07ac7cb7283fec98ae17a431d2749d (patch) | |
tree | 31cd28978749591c773b700baa71d8b46f8c9bd6 /SConstruct | |
parent | 4a600dabd5e2799bf0c3048859ee4f00808b7d89 (diff) | |
download | lighttpd-git-165600498b07ac7cb7283fec98ae17a431d2749d.tar.gz |
[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
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |