diff options
author | Ariel Manzur <ariel@godotengine.org> | 2016-05-21 20:07:32 -0300 |
---|---|---|
committer | Ariel Manzur <ariel@godotengine.org> | 2016-05-21 20:07:32 -0300 |
commit | 12bd9ee6f27c6d40f91e0bee7b150fea257463cb (patch) | |
tree | 4ef0ee5f47cfa5d992c5c83b524b8022e04dc793 /drivers/SCsub | |
parent | 6cf2353305922f3464ff91ae1b137e747e1d2961 (diff) |
fix
Diffstat (limited to 'drivers/SCsub')
-rw-r--r-- | drivers/SCsub | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/SCsub b/drivers/SCsub index 71ebb85c38..7337482628 100644 --- a/drivers/SCsub +++ b/drivers/SCsub @@ -2,10 +2,11 @@ Import('env') env_drivers = env.Clone() -env_drivers.drivers_sources=[] +env.drivers_sources=[] #env.add_source_files(env.drivers_sources,"*.cpp") env_drivers.Append(CPPPATH=["vorbis"]) -Export(env = env_drivers) + +Export('env_drivers') SConscript('unix/SCsub'); SConscript('alsa/SCsub'); @@ -61,7 +62,7 @@ if (env["squish"]=="yes" and env["tools"]=="yes"): num = 0 cur_base = "" -total = len(env_drivers.drivers_sources) +total = len(env.drivers_sources) max_src = 64 list = [] lib_list = [] @@ -69,11 +70,11 @@ lib_list = [] import string if env['vsproj']=="yes": - env.AddToVSProject(env_drivers.drivers_sources) + env.AddToVSProject(env.drivers_sources) if (env.split_drivers): #split drivers, this used to be needed for windows until separate builders for windows were created - for f in env_drivers.drivers_sources: + for f in env.drivers_sources: fname = "" if type(f) == type(""): fname = env.File(f).path @@ -107,6 +108,6 @@ if (env.split_drivers): #split drivers, this used to be needed for windows until env.Prepend(LIBS=lib_list) else: - env_drivers.add_source_files(env_drivers.drivers_sources,"*.cpp") - lib = env_drivers.Library("drivers",env_drivers.drivers_sources) + env_drivers.add_source_files(env.drivers_sources,"*.cpp") + lib = env_drivers.Library("drivers",env.drivers_sources) env.Prepend(LIBS=[lib]) |