diff options
| author | ruki <[email protected]> | 2019-03-06 00:33:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-03-05 21:18:48 +0800 |
| commit | 138b3e92933782273b25491ddcb8136d0fa26226 (patch) | |
| tree | b2924ccd458002b9080fde2a8816a01d3368b97e | |
| parent | 6cfc62866ceb1e70ce759ac22baecd15805666f3 (diff) | |
improve to check /def
| -rw-r--r-- | xmake/modules/detect/tools/link/has_flags.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/tools/link/has_flags.lua b/xmake/modules/detect/tools/link/has_flags.lua index c87b7b713..f008ac6fa 100644 --- a/xmake/modules/detect/tools/link/has_flags.lua +++ b/xmake/modules/detect/tools/link/has_flags.lua @@ -115,6 +115,7 @@ end function _ignore_flags(flags) local results = {} for _, flag in ipairs(flags) do + flag = flag:lower() if not flag:find("[%-/]def:.+%.def") and not flag:find("[%-/]export:") then table.insert(results, flag) end |
