diff options
| author | ruki <[email protected]> | 2023-12-22 00:00:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-12-22 00:00:18 +0800 |
| commit | 6417898f2e1076a642d85fc91478c84b9e67a39a (patch) | |
| tree | 12d6f70502c4617d03bd2536f5446559da6ae207 /core/xpack.lua | |
| parent | 17733b58e60dbc2729de94c17aedf48d6495136c (diff) | |
pack xmake install to srpm
Diffstat (limited to 'core/xpack.lua')
| -rw-r--r-- | core/xpack.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/xpack.lua b/core/xpack.lua index f8a1726cc..94e21f7a2 100644 --- a/core/xpack.lua +++ b/core/xpack.lua @@ -127,6 +127,6 @@ xpack("xmakesrc") if format == "runself" then batchcmds:runv("./scripts/get.sh", {"__local__"}) elseif format == "srpm" then - batchcmds:runv("make", {"install", "PREFIX=%{buildroot}"}) + batchcmds:runv("make", {"install", path(package:install_rootdir(), function (p) return "PREFIX=" .. p end)}) end end) |
