store build_dir and prefix configuration options in cache

This commit is contained in:
Josh Holtrop 2018-11-25 16:06:36 -05:00
parent 90300a1606
commit 49116e6b59

View File

@ -94,6 +94,8 @@ module Rscons
rv = 1
end
co.close
cache.configuration_data["build_dir"] = options[:build_dir]
cache.configuration_data["prefix"] = options[:prefix]
cache.set_configured(rv == 0)
cache.write!
rv