diff options
| -rw-r--r-- | xmake/core/project/target.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 975a27fa6..b43e498e3 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -245,12 +245,8 @@ function target:depfile() local targetdir = self:get("targetdir") or config.get("buildir") assert(targetdir and type(targetdir) == "string") - -- the symbol file name - local filename = (self:basename() or self:name()) .. ".d" - assert(filename) - -- make the dependent file path - return path.join(targetdir, filename) + return path.join(targetdir, self:name() .. ".d") end -- get the target kind |
