diff options
| author | ruki <[email protected]> | 2017-02-09 09:22:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-09 09:22:25 +0800 |
| commit | fd16730ec4846ea1acf8cb03d91f0a059d98fddf (patch) | |
| tree | 2e4b09d80a62b0edb2dd4ff0f1a035dd6e591503 /xmake/tools/gcc.lua | |
| parent | 7bb2d3b070b62c5fce22276c92f342f2647b0a39 (diff) | |
add add_frameworks api
Diffstat (limited to 'xmake/tools/gcc.lua')
| -rwxr-xr-x | xmake/tools/gcc.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/tools/gcc.lua b/xmake/tools/gcc.lua index 47832580f..6ad26c04e 100755 --- a/xmake/tools/gcc.lua +++ b/xmake/tools/gcc.lua @@ -231,6 +231,13 @@ function nf_linkdir(dir) return "-L" .. dir end +-- make the framework flag +function nf_framework(framework) + + -- make it + return "-framework " .. framework +end + -- make the link command function linkcmd(objectfiles, targetfile, flags) |
