summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/autoconf.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-01 00:41:39 +0800
committerruki <[email protected]>2022-10-01 00:41:39 +0800
commit1d7b16ba00abc4ccc419f841179c1b04c3ebd9cc (patch)
treefb6837cb8808bc2559c27a44e757a382c2968d3b /xmake/modules/package/tools/autoconf.lua
parent038fc3cee9d69ee86c6dd100041164d0c23fb9b9 (diff)
rename orderdeps to librarydeps
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
-rw-r--r--xmake/modules/package/tools/autoconf.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index c9fa019bf..fe0901ad1 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -336,7 +336,7 @@ function buildenvs(package, opt)
end
local ACLOCAL_PATH = {}
local PKG_CONFIG_PATH = {}
- for _, dep in ipairs(package:orderdeps()) do
+ for _, dep in ipairs(package:librarydeps()) do
local pkgconfig = path.join(dep:installdir(), "lib", "pkgconfig")
if os.isdir(pkgconfig) then
table.insert(PKG_CONFIG_PATH, pkgconfig)
@@ -361,7 +361,7 @@ function autogen_envs(package, opt)
local envs = {NOCONFIGURE = "yes"}
local ACLOCAL_PATH = {}
local PKG_CONFIG_PATH = {}
- for _, dep in ipairs(package:orderdeps()) do
+ for _, dep in ipairs(package:librarydeps()) do
local pkgconfig = path.join(dep:installdir(), "lib", "pkgconfig")
if os.isdir(pkgconfig) then
table.insert(PKG_CONFIG_PATH, pkgconfig)