summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-05-24 23:12:42 +0800
committerruki <[email protected]>2021-05-24 23:12:42 +0800
commit05c0ce2c6a9d4c2c479fe5c0b41501c733bedf6a (patch)
tree878138110382216c167dbd90073ae5325e9a0f2a
parent26edc4de9180bc49e9ca2fa388343dc7ba9e9660 (diff)
add target:pkg():libraryfiles
-rw-r--r--xmake/core/project/package.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/project/package.lua b/xmake/core/project/package.lua
index 619f086a8..9918bcbc1 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()