summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-06 09:12:08 +0800
committerruki <[email protected]>2016-07-06 09:12:08 +0800
commitd24fcddbc2f1093f3943a917d99c5a8989ef2644 (patch)
tree0cfc7af6e4a318148ed4ba4c13884f3b0e9d7f21 /xmake/core/sandbox
parent33d020825c90d656d1d1a504039e7d9781784e8b (diff)
fix configure error after host changedv2.0.2
Diffstat (limited to 'xmake/core/sandbox')
-rw-r--r--xmake/core/sandbox/modules/import/core/project/config.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/import/core/project/config.lua b/xmake/core/sandbox/modules/import/core/project/config.lua
index 99f48ace0..940cdb472 100644
--- a/xmake/core/sandbox/modules/import/core/project/config.lua
+++ b/xmake/core/sandbox/modules/import/core/project/config.lua
@@ -109,6 +109,13 @@ function sandbox_core_project_config.save(targetname)
end
end
+-- read the value from the configure file directly
+function sandbox_core_project_config.read(name, targetname)
+
+ -- read it
+ return config.read(name, targetname)
+end
+
-- the configure has been changed for the given target?
function sandbox_core_project_config.changed(targetname)