diff options
Diffstat (limited to 'xmake/core/project/project.lua')
| -rw-r--r-- | xmake/core/project/project.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index 831f882d4..5c2a12e00 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -259,9 +259,6 @@ end -- do install the addons which this project declares function project._do_install_addons() - if os.getenv("XMAKE_SKIP_ADDONS") then - return true - end -- this project declares nothing? local addonsinfo, errors = addons.load() @@ -297,9 +294,7 @@ function project._do_install_addons() end table.insert(argv, "private.action.addon.impl.install_addons") table.insert(argv, os.projectdir()) - local envs = os.getenvs() - envs.XMAKE_SKIP_ADDONS = "y" - local ok, errors = os.execv(os.programfile(), argv, {curdir = os.tmpdir(), envs = envs}) + local ok, errors = os.execv(os.programfile(), argv, {curdir = os.tmpdir()}) if ok ~= 0 then return false, errors or "install the addons of this project failed!" end |
