summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/scons.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-08-02 22:41:32 +0800
committerruki <[email protected]>2023-08-02 22:41:32 +0800
commit0ffb589fb816c4d886cf88d322df45f7ebe5434e (patch)
treefa1790db80813ebcde04fe7551feaa14d1238bab /xmake/modules/package/tools/scons.lua
parenta27745121cc4ce14d3c4523086a0cb5a4f1a86a8 (diff)
fix aclocal path
Diffstat (limited to 'xmake/modules/package/tools/scons.lua')
-rw-r--r--xmake/modules/package/tools/scons.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/scons.lua b/xmake/modules/package/tools/scons.lua
index 65b73dfec..1b59db92e 100644
--- a/xmake/modules/package/tools/scons.lua
+++ b/xmake/modules/package/tools/scons.lua
@@ -84,6 +84,9 @@ function buildenvs(package, opt)
if os.isdir(pkgconfig) then
table.insert(PKG_CONFIG_PATH, pkgconfig)
end
+ end
+ -- some binary packages contain it too. e.g. libtool
+ for _, dep in ipairs(package:orderdeps()) do
local aclocal = path.join(dep:installdir(), "share", "aclocal")
if os.isdir(aclocal) then
table.insert(ACLOCAL_PATH, aclocal)