summaryrefslogtreecommitdiff
path: root/xmake/modules/core/project/depend.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-03 23:18:09 +0800
committerruki <[email protected]>2020-04-03 14:20:20 +0800
commitb49cfd13fc19b42ecce4ae9077e3ba51a46a5fcb (patch)
treeff9ad749278725525951c0d836a018fc416b0ca1 /xmake/modules/core/project/depend.lua
parent9783d272988b51843869af98e0c53fa00cf9c902 (diff)
enable symbols.extract for other langs
Diffstat (limited to 'xmake/modules/core/project/depend.lua')
-rw-r--r--xmake/modules/core/project/depend.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/project/depend.lua b/xmake/modules/core/project/depend.lua
index 70c72b11e..84a8b99d9 100644
--- a/xmake/modules/core/project/depend.lua
+++ b/xmake/modules/core/project/depend.lua
@@ -101,7 +101,7 @@ function is_changed(dependinfo, opt)
for _, file in ipairs(files) do
-- get and cache the file mtime
- local mtime = files_mtime[file] or (os.isfile(file) and os.mtime(file) or nil)
+ local mtime = files_mtime[file] or os.mtime(file)
files_mtime[file] = mtime
-- source and header files have been changed?