diff options
Diffstat (limited to 'drivers/SCsub')
-rw-r--r-- | drivers/SCsub | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/SCsub b/drivers/SCsub index 9c561b5c13..e9a6e3b983 100644 --- a/drivers/SCsub +++ b/drivers/SCsub @@ -35,6 +35,9 @@ if (env["tools"]=="yes"): if env['vsproj']=="yes": env.AddToVSProject(env.drivers_sources) -env.add_source_files(env.drivers_sources,"*.cpp") -lib = env.Library("drivers",env.drivers_sources) -env.Prepend(LIBS=[lib]) +if env.split_drivers: + env.split_lib("drivers") +else: + env.add_source_files(env.drivers_sources,"*.cpp") + lib = env.Library("drivers",env.drivers_sources) + env.Prepend(LIBS=[lib]) |