summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-18 11:28:12 +0800
committerruki <[email protected]>2017-07-18 11:28:12 +0800
commitf681b5830054511484277bdf82838cd5bb7a9b66 (patch)
treedc62de31a9f8b5b5be8e83e2f8a8bee1e411226f /xmake/core/tool/builder.lua
parenta4648568818b4b5b3598e6c7d5179b5d720a8c94 (diff)
add option and target dep api
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index 5e01233db..bec875325 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -154,7 +154,7 @@ end
function builder:_addflags_from_targetdeps(results, target, flagname)
-- for all target deps
- for _, dep in ipairs(target:deps()) do
+ for _, dep in pairs(target:deps()) do
-- is static or shared target library? link it
local depkind = dep:get("kind")