From 0ffb589fb816c4d886cf88d322df45f7ebe5434e Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 2 Aug 2023 22:41:32 +0800 Subject: fix aclocal path --- xmake/modules/package/tools/make.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xmake/modules/package/tools/make.lua') diff --git a/xmake/modules/package/tools/make.lua b/xmake/modules/package/tools/make.lua index 694a3a824..283f3d290 100644 --- a/xmake/modules/package/tools/make.lua +++ b/xmake/modules/package/tools/make.lua @@ -78,6 +78,9 @@ function buildenvs(package) 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) -- cgit v1.3.1