diff options
| -rw-r--r-- | xmake/rules/qt/ts/xmake.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/rules/qt/ts/xmake.lua b/xmake/rules/qt/ts/xmake.lua index 6ddfeb703..95e44d2a2 100644 --- a/xmake/rules/qt/ts/xmake.lua +++ b/xmake/rules/qt/ts/xmake.lua @@ -53,7 +53,11 @@ rule("qt.ts") local outputdir = target:targetdir() local fileconfig = target:fileconfig(sourcefile_ts) if fileconfig and fileconfig.prefixdir then - outputdir = path.join(target:targetdir(), fileconfig.prefixdir) + if path.is_absolute(fileconfig.prefixdir) then + outputdir = fileconfig.prefixdir + else + outputdir = path.join(target:targetdir(), fileconfig.prefixdir) + end end local outfile = path.join(outputdir, path.basename(sourcefile_ts) .. ".qm") batchcmds:mkdir(outputdir) |
