diff options
| author | ruki <[email protected]> | 2018-10-04 22:47:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-10-04 10:46:23 +0800 |
| commit | 5ff766127e272bc8aa7f358591f18a8b3874a5ff (patch) | |
| tree | b03c73a9adf1fb2bba1ba38627d4ea50fafb1ece | |
| parent | 133a83d92d4ea4de51c360ab97b483aa0b8ccf59 (diff) | |
fix find package bug
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/detect/find_package.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_package.lua b/xmake/core/sandbox/modules/import/lib/detect/find_package.lua index c770ace3e..ccecae775 100644 --- a/xmake/core/sandbox/modules/import/lib/detect/find_package.lua +++ b/xmake/core/sandbox/modules/import/lib/detect/find_package.lua @@ -231,6 +231,7 @@ function sandbox_lib_detect_find_package._find_from_prefixdirs(name, opt) local find_library = import("lib.detect.find_library") -- find library + local result = nil for _, link in ipairs(links) do local libinfo = find_library(link, linkdirs) if libinfo then |
