Source
--- tools/gyp/pylib/gyp/generator/make.py
+++ tools/gyp/pylib/gyp/generator/make.new.py
includes = config.get('include_dirs')
if includes:
includes = map(Sourceify, map(self.Absolutify, includes))
+ includes = reversed(includes)
self.WriteList(includes, 'INCS_%s' % configname, prefix='-I')
compilable = filter(Compilable, sources)