The get_implicit_deps changed in SCons 2.5, expecting a callable rather
than a path as third argument. Detect the SCons versions and set the
argument appropriately to support both 2.5 and earlier versions.
This closes #95211.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95211Signed-off-by: Giuseppe Bilotta <email@example.com>
Acked-by: Emil Velikov <firstname.lastname@example.org>
Reviewed-by: Brian Paul <email@example.com>