diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-10-18 16:30:14 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-10-25 01:23:28 (GMT) |
commit | 894df3804828fdf3c2e85f4bd21024612d244a9b (patch) | |
tree | 160c7bac6d0f326dd24211aed30e4bbc5745dc0c | |
parent | 1c3e1e9a3b3a2987e18cf5eb7f94e3f4cce3cde4 (diff) | |
download | mxe-894df3804828fdf3c2e85f4bd21024612d244a9b.zip mxe-894df3804828fdf3c2e85f4bd21024612d244a9b.tar.gz mxe-894df3804828fdf3c2e85f4bd21024612d244a9b.tar.bz2 |
build-pkg: log cross-target dependencies
Don't log dependencies on native target.
-rwxr-xr-x | tools/build-pkg.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua index 7692886..3d71351 100755 --- a/tools/build-pkg.lua +++ b/tools/build-pkg.lua @@ -187,6 +187,14 @@ local function getItems() table.insert(items, item) item2deps[item] = deps item2ver[item] = ver + local target, _ = parseItem(item) + for _, dep_item in ipairs(deps) do + local target2, _ = parseItem(dep_item) + if isCross(target2) and target2 ~= target then + log("Cross-target dependency %s -> %s", + target2, target) + end + end end end make:close() |