diff options
Diffstat (limited to 'xmake/scripts/base/makefile.lua')
| -rw-r--r-- | xmake/scripts/base/makefile.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/base/makefile.lua b/xmake/scripts/base/makefile.lua index 8be6334a5..4a91c0b3d 100644 --- a/xmake/scripts/base/makefile.lua +++ b/xmake/scripts/base/makefile.lua @@ -125,7 +125,7 @@ function makefile._make_target(file, name, target) -- get the linker from the given kind local l = linker.get(target.kind) - assert(l) + if not l then return false end -- make head file:write(string.format("%s:", name)) |
