diff options
| author | ruki <[email protected]> | 2021-12-11 00:54:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-12-11 00:54:05 +0800 |
| commit | 41da093977e662321899f0a4e980097ca8dd295b (patch) | |
| tree | 2ece390958cb5b12334dd3a54d5bc484e65e0b19 /xmake/core/project/target.lua | |
| parent | 349a22942e600821aa72424bbfa58f021357b1cf (diff) | |
impl linux driver rule
Diffstat (limited to 'xmake/core/project/target.lua')
| -rw-r--r-- | xmake/core/project/target.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 499db099c..cb470a3c8 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -2092,7 +2092,7 @@ function target.filename(targetname, targetkind, opt) -- make filename by format local filename = targetname - local format = opt.format or platform.format(targetkind, opt.plat, opt.arch) + local format = opt.format or platform.format(targetkind, opt.plat, opt.arch) or "$(name)" if format then local splitinfo = format:split("$(name)", {plain = true, strict = true}) local prefixname = splitinfo[1] or "" |
