Skip to content

Commit

Permalink
enable nopkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jul 15, 2024
1 parent d3ddeff commit 8c5201c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xmake/modules/target/action/install/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c5201c

Please sign in to comment.