summaryrefslogtreecommitdiff
path: root/xmake/modules/package/manager/system
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-21 16:49:45 +0800
committerruki <[email protected]>2021-02-21 16:49:45 +0800
commit01d5ccfc69f1475826fa01a0269cb9a7419d2c73 (patch)
tree4642961e6aaee70e9b9c931450b474919377b143 /xmake/modules/package/manager/system
parent923489f49a9a83a5f1325ef84b48bb6e15d9972f (diff)
rename prefix: pkg-config to pkgconfig
Diffstat (limited to 'xmake/modules/package/manager/system')
-rw-r--r--xmake/modules/package/manager/system/find_package.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/manager/system/find_package.lua b/xmake/modules/package/manager/system/find_package.lua
index 1298a3e5d..9bb04566d 100644
--- a/xmake/modules/package/manager/system/find_package.lua
+++ b/xmake/modules/package/manager/system/find_package.lua
@@ -22,7 +22,7 @@
import("lib.detect.find_file")
import("lib.detect.find_path")
import("lib.detect.find_library")
-import("lib.detect.pkg_config")
+import("lib.detect.pkgconfig")
import("detect.sdks.find_xcode")
import("core.project.config")
@@ -148,7 +148,7 @@ function main(name, opt)
local version = nil
local links = table.wrap(opt.links)
if #links == 0 then
- pkginfo = pkg_config.libinfo(name)
+ pkginfo = pkgconfig.libinfo(name)
if pkginfo then
links = table.wrap(pkginfo.links)
version = pkginfo.version