summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorruki <[email protected]>2018-09-23 23:25:03 +0800
committerruki <[email protected]>2018-09-23 23:25:03 +0800
commitba4ba0bf697cfc2b95edbd53d9301bbbb3803129 (patch)
treedd60dd6c5b663ad6299d46b1c2606775b292b27b /xmake/core
parentd9d422c8fe2f838052fc2dd92b6801a81a515b34 (diff)
improve to try building
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/sandbox/modules/import/lib/detect/find_package.lua2
1 files changed, 1 insertions, 1 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 57db255b3..39b08a78a 100644
--- a/xmake/core/sandbox/modules/import/lib/detect/find_package.lua
+++ b/xmake/core/sandbox/modules/import/lib/detect/find_package.lua
@@ -144,7 +144,7 @@ function sandbox_lib_detect_find_package._find_from_prefixdirs(name, opt)
end
-- find the package list file, .e.g zlib-1.2.11.txt
- local prefixfile = find_file(name .. "-*.txt", prefixdirs, {suffixes = ".list"})
+ local prefixfile = find_file(name .. "-*.txt", prefixdirs, {suffixes = ".info"})
-- get the include and link directories
local linkdirs = {}