diff options
Diffstat (limited to 'modules/ogg')
-rw-r--r-- | modules/ogg/SCsub | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/modules/ogg/SCsub b/modules/ogg/SCsub index 42d593f88e..fd5ddf55c8 100644 --- a/modules/ogg/SCsub +++ b/modules/ogg/SCsub @@ -1,20 +1,19 @@ Import('env') Import('env_modules') +env_ogg = env_modules.Clone() + # Thirdparty source files if (env["libogg"] != "system"): # builtin thirdparty_dir = "#thirdparty/libogg/" - thirdparty_libogg_sources = [ + thirdparty_sources = [ "bitwise.c", "framing.c", ] - thirdparty_libogg_sources = [thirdparty_dir + file for file in thirdparty_libogg_sources] + thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources] - env_modules.add_source_files(env.modules_sources, thirdparty_libogg_sources) - env_modules.Append(CPPPATH = [thirdparty_dir]) + env_ogg.add_source_files(env.modules_sources, thirdparty_sources) + env_ogg.Append(CPPPATH = [thirdparty_dir]) # Godot source files -env_modules.add_source_files(env.modules_sources, "*.cpp") - -Export('env_modules') -Export('env') +env_ogg.add_source_files(env.modules_sources, "*.cpp") |