summaryrefslogtreecommitdiff
path: root/pkg/wayland
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-06-30 21:45:03 -0700
committerMichael Forney <mforney@mforney.org>2019-06-30 21:55:30 -0700
commit68a70870cdaaa81375a3c95a4cbab0c7e7e83060 (patch)
tree317de0a6ea292d910f50529e7dd5704e0233f408 /pkg/wayland
parent0be647228584d9ea01bba526e1c37e858c91a3ce (diff)
wayland: Use smaller set of header dependencies for wayland-scanner
Otherwise, wayland-scanner depends on wayland-*-protocol.h, which is generated by the system wayland-scanner, resulting in a bootstrapping loop.
Diffstat (limited to 'pkg/wayland')
-rw-r--r--pkg/wayland/gen.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/wayland/gen.lua b/pkg/wayland/gen.lua
index 8b07adf8..c5036e15 100644
--- a/pkg/wayland/gen.lua
+++ b/pkg/wayland/gen.lua
@@ -38,11 +38,10 @@ pkg.hdrs = {
pkg.deps = {
'$dir/headers',
'$outdir/include/wayland-version.h',
- 'pkg/expat/headers',
'pkg/libffi/headers',
}
-cc('src/wayland-util.c')
+cc('src/wayland-util.c', {'$outdir/include/wayland-version.h'})
cc('src/wayland-os.c')
cc('src/connection.c')
@@ -52,7 +51,7 @@ exe('wayland-scanner', [[
wayland-util.c.o
)
$builddir/pkg/expat/libexpat.a.d
-]])
+]], {'pkg/expat/headers', '$outdir/include/wayland-version.h'})
file('bin/wayland-scanner', '755', '$outdir/wayland-scanner')
lib('libwayland-server.a', [[