From 052d32d1ccd6160941eb989e7291a5ee0f3bf56f Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 1 Nov 2018 23:58:35 +0800 Subject: patch pkgconfig after installing package --- xmake/core/package/package.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xmake/core/package/package.lua') diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 0c9261a07..e209a2532 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -72,6 +72,11 @@ function _instance:name() return self._NAME end +-- get the package description +function _instance:description() + return self:get("description") +end + -- get the platform of package function _instance:plat() -- @note we uses os.host() instead of them for the binary package -- cgit v1.3.1