drivers: Refactor SCsub and drop redundant env_drivers clone

The reordering of the SConscript includes allows to ensure that
stuff like the builtin zlib headers will be available for libpng.

Also moved glew back into global env, otherwise windows seems
not to find it... Kind of shooting in the dark with this multi-env
setup.

(cherry picked from commit 248bc9159c)
This commit is contained in:
Rémi Verschelde 2016-10-15 12:39:28 +02:00
parent d96842b80e
commit aa1367595e
11 changed files with 63 additions and 63 deletions

View file

@ -1,5 +1,5 @@
Import('env')
env.add_source_files(env.drivers_sources,"*.cpp")
env.add_source_files(env.drivers_sources, "*.cpp")
Export('env')