diff options
| author | ruki <[email protected]> | 2018-10-15 23:48:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-10-15 16:50:32 +0800 |
| commit | e7bebb2e4c03c85e801c6b7e2e7131da5dec7869 (patch) | |
| tree | b72678602c6c76163d3dccfd08446ca143d204e7 /xmake/modules/detect/tools/link/has_flags.lua | |
| parent | 1061b681604cc1739c65849624866732e59ce9e7 (diff) | |
ignore -export and improve vs201x proj
Diffstat (limited to 'xmake/modules/detect/tools/link/has_flags.lua')
| -rw-r--r-- | xmake/modules/detect/tools/link/has_flags.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/link/has_flags.lua b/xmake/modules/detect/tools/link/has_flags.lua index ba6b8e2b8..74eae3554 100644 --- a/xmake/modules/detect/tools/link/has_flags.lua +++ b/xmake/modules/detect/tools/link/has_flags.lua @@ -115,7 +115,7 @@ end function _ignore_flags(flags) local results = {} for _, flag in ipairs(flags) do - if not flag:find("[%-/]def:.+%.def") then + if not flag:find("[%-/]def:.+%.def") and not flag:find("[%-/]export:") then table.insert(results, flag) end end |
