summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/gcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-15 20:14:13 +0800
committerruki <[email protected]>2017-07-15 20:14:13 +0800
commit52fe9fc2ad2dbd0c25a873b7a297259d8af102a9 (patch)
tree716e07410c585b9c7eb3ed1201aea79a3982e49a /xmake/modules/core/tools/gcc.lua
parentc3576499ce8251ce6bf8610eb7b2b67d3e34a61b (diff)
add_frameworkdirs api
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
-rw-r--r--xmake/modules/core/tools/gcc.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 0c0d27ac5..7665f827e 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -243,6 +243,11 @@ function nf_framework(self, framework)
return "-framework " .. framework
end
+-- make the frameworkdir flag
+function nf_frameworkdir(self, frameworkdir)
+ return "-F " .. frameworkdir
+end
+
-- make the link arguments list
function linkargv(self, objectfiles, targetkind, targetfile, flags)
return self:program(), table.join("-o", targetfile, objectfiles, flags)