diff options
| author | ruki <[email protected]> | 2023-08-02 22:41:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-08-02 22:41:32 +0800 |
| commit | 0ffb589fb816c4d886cf88d322df45f7ebe5434e (patch) | |
| tree | fa1790db80813ebcde04fe7551feaa14d1238bab /xmake/modules/package/tools/make.lua | |
| parent | a27745121cc4ce14d3c4523086a0cb5a4f1a86a8 (diff) | |
fix aclocal path
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
| -rw-r--r-- | xmake/modules/package/tools/make.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
