summaryrefslogtreecommitdiff
path: root/xmake/core/action/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-02-28 14:14:25 +0800
committerruki <[email protected]>2016-02-28 14:14:25 +0800
commit5c154ce0b281f073fb6c8e475e932837da0d5117 (patch)
treeb670dfe584762f397fe466be227b09d375b1ec90 /xmake/core/action/package.lua
parent9212146ac3d022a54f659d87fb0ecd7a7db2bee4 (diff)
hide _OPTIONS
Diffstat (limited to 'xmake/core/action/package.lua')
-rw-r--r--xmake/core/action/package.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/core/action/package.lua b/xmake/core/action/package.lua
index 72a071886..22866081f 100644
--- a/xmake/core/action/package.lua
+++ b/xmake/core/action/package.lua
@@ -27,6 +27,7 @@ local action_package = action_package or {}
local rule = require("base/rule")
local path = require("base/path")
local utils = require("base/utils")
+local option = require("base/option")
local config = require("base/config")
local global = require("base/global")
local string = require("base/string")
@@ -106,7 +107,7 @@ function action_package._makeconf(target_name, target)
assert(target_name and target)
-- the options
- local options = xmake._OPTIONS
+ local options = option.options()
assert(options)
-- the configs
@@ -247,7 +248,7 @@ end
function action_package.done()
-- the options
- local options = xmake._OPTIONS
+ local options = option.options()
assert(options)
-- trace