From 05c0ce2c6a9d4c2c479fe5c0b41501c733bedf6a Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 24 May 2021 23:12:42 +0800 Subject: [PATCH] add target:pkg():libraryfiles --- xmake/core/project/package.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xmake/core/project/package.lua b/xmake/core/project/package.lua index 619f086a858..9918bcbc1ff 100644 --- a/xmake/core/project/package.lua +++ b/xmake/core/project/package.lua @@ -113,6 +113,11 @@ function package:installdir() return self:get("__installdir") end +-- get library files +function package:libraryfiles() + return self:get("libfiles") +end + -- get the extra info from the given name function package:extra(name) local extrainfo = self:extrainfo()