diff options
| author | ruki <[email protected]> | 2018-11-01 23:58:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-01 17:51:35 +0800 |
| commit | 052d32d1ccd6160941eb989e7291a5ee0f3bf56f (patch) | |
| tree | b127f3c0e433f92842ca28c0f3194652b8369d2a /xmake/core | |
| parent | d130b8049af3250f3504580d146e3c54ed052a5f (diff) | |
patch pkgconfig after installing package
Diffstat (limited to 'xmake/core')
| -rw-r--r-- | xmake/core/package/package.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
