diff options
| -rw-r--r-- | xmake/modules/target/action/install/main.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
