diff options
| author | Liu <[email protected]> | 2019-12-02 21:32:50 +0800 |
|---|---|---|
| committer | Liu <[email protected]> | 2019-12-02 21:33:15 +0800 |
| commit | 30d4183095aa5dcdb9cbe00b1b48e45ca31424fe (patch) | |
| tree | b8e47b54d84dab64cc9a65e101fcc947e52ea6cc /xmake/modules/lib/detect/pkg_config.lua | |
| parent | 45b739d927c89d93d85f626ab77dee70746c1cd3 (diff) | |
clear tail white space
Diffstat (limited to 'xmake/modules/lib/detect/pkg_config.lua')
| -rw-r--r-- | xmake/modules/lib/detect/pkg_config.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/lib/detect/pkg_config.lua b/xmake/modules/lib/detect/pkg_config.lua index 4e766e313..5bc63c18d 100644 --- a/xmake/modules/lib/detect/pkg_config.lua +++ b/xmake/modules/lib/detect/pkg_config.lua @@ -150,7 +150,7 @@ function libinfo(name, opt) for _, flag in ipairs(flags:split('%s')) do -- get links - local link = flag:match("%-l(.*)") + local link = flag:match("%-l(.*)") if link then result.links = result.links or {} table.insert(result.links, link) @@ -158,7 +158,7 @@ function libinfo(name, opt) -- get linkdirs local linkdirs = nil - local linkdir = flag:match("%-L(.*)") + local linkdir = flag:match("%-L(.*)") if linkdir and os.isdir(linkdir) then result.linkdirs = result.linkdirs or {} table.insert(result.linkdirs, linkdir) @@ -166,7 +166,7 @@ function libinfo(name, opt) -- get includedirs local includedirs = nil - local includedir = flag:match("%-I(.*)") + local includedir = flag:match("%-I(.*)") if includedir and os.isdir(includedir) then result.includedirs = result.includedirs or {} table.insert(result.includedirs, includedir) |
