[Scons-users] Implicit dependency `None' not found

Fred Wright fw at fwright.net
Sun Apr 3 15:33:49 EDT 2016


On Sun, 3 Apr 2016, Stefan Seefeld wrote:

> Almost. It turns out that I expected a certain set of variables to be
> set in `distutils.sysconfig.get_config_vars()`, which wasn't the case on
> Windows.
> The above `match` would be empty (and thus the conditional block wasn't
> executed at all), but a subsequent call to context.env.MergeFlags()
> would still inject 'None', which causes the havoc.

Something which may or may not be relevant is that the SConstruct script
for GPSD includes code to postprocess the get_config_vars() result by
replacing any occurrences of None with [].  But it's not my code, and I
don't develop for Windows.

Fred Wright


More information about the Scons-users mailing list