From c5aff6fc2e6f452d5b313b95c77836cebeeff83c Mon Sep 17 00:00:00 2001 From: David Given Date: Mon, 5 Dec 2016 20:33:26 +0100 Subject: [PATCH] Change dependency from simplerule{} with a dependency but no outputs to an installable; otherwise, the dependency would be built, but the result wouldn't get added to the header path and so wouldn't be seen. --- plat/osx386/include/build.lua | 7 ++----- plat/osxppc/include/build.lua | 9 +++------ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/plat/osx386/include/build.lua b/plat/osx386/include/build.lua index 164e2b44a..2f80c1257 100644 --- a/plat/osx386/include/build.lua +++ b/plat/osx386/include/build.lua @@ -1,7 +1,4 @@ -simplerule { +installable { name = "headers", - deps = { "plat/osx/include+headers" }, - ins = {}, - outs = {}, - commands = {}, + map = { "plat/osx/include+pkg" } } diff --git a/plat/osxppc/include/build.lua b/plat/osxppc/include/build.lua index 164e2b44a..2058eb2cc 100644 --- a/plat/osxppc/include/build.lua +++ b/plat/osxppc/include/build.lua @@ -1,7 +1,4 @@ -simplerule { +installable { name = "headers", - deps = { "plat/osx/include+headers" }, - ins = {}, - outs = {}, - commands = {}, -} + map = { "plat/osx/include+pkg" } +} \ No newline at end of file