diff options
Diffstat (limited to 'xmake/rules/xmake_cli/xmake.lua')
| -rw-r--r-- | xmake/rules/xmake_cli/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/xmake_cli/xmake.lua b/xmake/rules/xmake_cli/xmake.lua index cab9d16f5..2375c9e3b 100644 --- a/xmake/rules/xmake_cli/xmake.lua +++ b/xmake/rules/xmake_cli/xmake.lua @@ -35,7 +35,7 @@ rule("xmake.cli") -- install xmake-core lua scripts first local libxmake = target:pkg("libxmake") - local programdir = path.join(path.directory(libxmake:get("linkdirs")), "share", "xmake") + local programdir = path.join(libxmake:installdir(), "share", "xmake") local installdir = path.join(target:installdir(), "share", target:name()) assert(os.isdir(programdir), "%s not found!", programdir) if not os.isdir(installdir) then |
