dup the option hash as we are deleting stuff from it and might have to reuse it in case we build for a different mode (dev+release)

This commit is contained in:
Laurent Sansonetti
2013-09-11 22:38:16 +02:00
committed by Watson
parent f0cc8b08ba
commit 14f0cb174d

View File

@@ -38,7 +38,7 @@ module Motion; module Project;
def build(platform)
App.info 'Build', @path
send gen_method('build'), platform, @opts
send gen_method('build'), platform, @opts.dup
if @libs.empty?
App.fail "Building vendor project `#{@path}' failed to create at least one `.a' library."
end