From: Waf Project Date: Wed, 28 May 2025 23:31:21 +0000 (+0800) Subject: third_party/waf: Explicit standard GNU directory command line options are not honoured X-Git-Tag: tevent-0.17.0~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfd0ea70b9ed03e8e43a1f60d4d3d440c3ef18b0;p=thirdparty%2Fsamba.git third_party/waf: Explicit standard GNU directory command line options are not honoured ref: https://gitlab.com/ita1024/waf/-/issues/2470 (cherry picked from commit aeec9358394f883f63b3ad78c2857117ca2cdfb4) Signed-off-by: Noel Power Reviewed-by: Anoop C S Autobuild-User(master): Anoop C S Autobuild-Date(master): Fri Jun 6 10:53:07 UTC 2025 on atb-devel-224 --- diff --git a/third_party/waf/waflib/Tools/gnu_dirs.py b/third_party/waf/waflib/Tools/gnu_dirs.py index 1f09e260715..a0f89fcc142 100644 --- a/third_party/waf/waflib/Tools/gnu_dirs.py +++ b/third_party/waf/waflib/Tools/gnu_dirs.py @@ -75,7 +75,7 @@ def configure(conf): BINDIR and LIBDIR will be overwritten. """ def get_param(varname, default): - return getattr(Options.options, varname, '') or default + return getattr(Options.options, varname.lower(), '') or default env = conf.env env.LIBDIR = env.BINDIR = []