From 28e075556101cd683f38e010229ea04dad3decf1 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 15 Jul 2024 22:55:46 +0800 Subject: enable nopkgs --- xmake/modules/target/action/install/main.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xmake/modules/target/action/install/main.lua b/xmake/modules/target/action/install/main.lua index b78c8bb54..4308a525f 100644 --- a/xmake/modules/target/action/install/main.lua +++ b/xmake/modules/target/action/install/main.lua @@ -24,6 +24,9 @@ import("core.base.hashset") import("utils.symbols.depend", {alias = "get_depend_libraries"}) function _get_target_package_libfiles(target, opt) + if option.get("nopkgs") then + return {} + end local libfiles = {} for _, pkg in ipairs(target:orderpkgs(opt)) do if pkg:enabled() and pkg:get("libfiles") then -- cgit v1.3.1