fix configure :set_define handling to append to CPPDEFINES array
This commit is contained in:
parent
9e0ce5a55c
commit
e3e2e46d6e
@ -399,7 +399,7 @@ module Rscons
|
|||||||
if status == 0
|
if status == 0
|
||||||
Ansi.write($stdout, :green, "#{success_message}\n")
|
Ansi.write($stdout, :green, "#{success_message}\n")
|
||||||
if options[:set_define]
|
if options[:set_define]
|
||||||
store_append("CPPDEFINES" => options[:set_define])
|
store_append("CPPDEFINES" => [options[:set_define]])
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if options.has_key?(:fail) and not options[:fail]
|
if options.has_key?(:fail) and not options[:fail]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user