summaryrefslogtreecommitdiff
path: root/xmake/core/project/option.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-07 09:01:16 +0800
committerruki <[email protected]>2017-02-07 09:01:16 +0800
commit072f97eb86fd3626fb70325e17e028bf90766dc2 (patch)
treec7b323a7bb3d9bc38ea2eba024eff2591d0dc6c7 /xmake/core/project/option.lua
parent59c7e717b3e627fbfcee313f0c1d050e9bbceb5b (diff)
move some linker interfaces to builder
Diffstat (limited to 'xmake/core/project/option.lua')
-rw-r--r--xmake/core/project/option.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/option.lua b/xmake/core/project/option.lua
index 2648338ad..4ce846134 100644
--- a/xmake/core/project/option.lua
+++ b/xmake/core/project/option.lua
@@ -49,7 +49,7 @@ function option:_check_link(sourcefile, objectfile, targetfile)
self._SOURCEKINDS = language.sourcekind_of(sourcefile)
-- load the linker instance
- local instance = linker.load("binary")
+ local instance = linker.load("binary", self._SOURCEKINDS)
if not instance then
return false
end