]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
third_party/waf: Explicit standard GNU directory command line options are not honoured
authorWaf Project <noreply@waf.io>
Wed, 28 May 2025 23:31:21 +0000 (07:31 +0800)
committerAnoop C S <anoopcs@samba.org>
Fri, 6 Jun 2025 10:53:07 +0000 (10:53 +0000)
ref: https://gitlab.com/ita1024/waf/-/issues/2470

(cherry picked from commit aeec9358394f883f63b3ad78c2857117ca2cdfb4)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Fri Jun  6 10:53:07 UTC 2025 on atb-devel-224

third_party/waf/waflib/Tools/gnu_dirs.py

index 1f09e2607158090c79db797a36c850026eacb350..a0f89fcc14255de23db019f6f5fc93fb365ebde2 100644 (file)
@@ -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 = []