summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/scons.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-04 23:51:00 +0800
committerruki <[email protected]>2023-09-04 23:51:00 +0800
commit33f1ec40fdfdcba4e2ae1e40d0050868ca4dca76 (patch)
tree39a8f3782460a6531e9628d4f235dd476b9945f5 /xmake/modules/package/tools/scons.lua
parent40e70336ebbb4a6deb7c8277b7371d712cc2d621 (diff)
get librarydeps with private
Diffstat (limited to 'xmake/modules/package/tools/scons.lua')
-rw-r--r--xmake/modules/package/tools/scons.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/scons.lua b/xmake/modules/package/tools/scons.lua
index 1b59db92e..f9208042d 100644
--- a/xmake/modules/package/tools/scons.lua
+++ b/xmake/modules/package/tools/scons.lua
@@ -75,7 +75,7 @@ function buildenvs(package, opt)
end
local ACLOCAL_PATH = {}
local PKG_CONFIG_PATH = {}
- for _, dep in ipairs(package:librarydeps()) do
+ for _, dep in ipairs(package:librarydeps({private = true})) do
local pkgconfig = path.join(dep:installdir(), "lib", "pkgconfig")
if os.isdir(pkgconfig) then
table.insert(PKG_CONFIG_PATH, pkgconfig)