modify Cache to store user-specified extra dependencies
This commit is contained in:
1 parent
a28cef9eb7
commit
7330e74ab8
9 files changed
+105
-46
No files matched your search
@@ -14,7 +14,7 @@ module Rscons
|
||||
}
|
||||
end
|
||||
|
||||
def run(target, sources, cache, env, vars)
|
||||
def run(target, sources, user_deps, cache, env, vars)
|
||||
# build sources to linkable objects
|
||||
objects = env.build_sources(sources, [env['OBJSUFFIX'], env['LIBSUFFIX']].flatten, cache, vars)
|
||||
return false unless objects
|
||||
@@ -33,7 +33,7 @@ module Rscons
|
||||
'LD' => ld,
|
||||
})
|
||||
command = env.build_command(env['LDCMD'], vars)
|
||||
standard_build("LD #{target}", target, command, objects, env, cache)
|
||||
standard_build("LD #{target}", target, command, objects, user_deps, env, cache)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user