scons: support 2.5.0
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 25 May 2016 13:32:08 +0000 (07:32 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 25 May 2016 18:23:12 +0000 (12:23 -0600)
commit1b62b47f6fcaf5a825a5a909c91e802bffae3b1d
tree41d904560f9f5bd44903a370f3defe08983190b8
parent8c00fe39707e9b4d72805f443b23e4576ae8801c
scons: support 2.5.0

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=95211
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
scons/custom.py