diff options
| author | ruki <[email protected]> | 2023-11-15 00:05:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-15 00:05:14 +0800 |
| commit | dafa53ffa7449b635bbd72d1489ed430674e5af4 (patch) | |
| tree | 78b727c180ebee7544731f8cefee75decbd76eab /xmake/includes/xpack/xmake.lua | |
| parent | 9a5ca6742079c85d78d84f0bcecfae577628e201 (diff) | |
add bindir and libdir
Diffstat (limited to 'xmake/includes/xpack/xmake.lua')
| -rw-r--r-- | xmake/includes/xpack/xmake.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/includes/xpack/xmake.lua b/xmake/includes/xpack/xmake.lua index 5227c360a..d2e6e4a07 100644 --- a/xmake/includes/xpack/xmake.lua +++ b/xmake/includes/xpack/xmake.lua @@ -45,7 +45,11 @@ local apis = { -- set the base name of the output file "xpack.set_basename", -- add targets to be packaged - "xpack.add_targets" + "xpack.add_targets", + -- set installed binary directory, e.g. bin + "xpack.set_bindir", + -- set installed library directory, e.g. lib + "xpack.set_libdir" }, paths = { -- set the spec file path, support the custom variable pattern, e.g. set_specfile("", {pattern = "%${([^\n]-)}"}) |
