commit: 68a70870cdaaa81375a3c95a4cbab0c7e7e83060
parent 0be647228584d9ea01bba526e1c37e858c91a3ce
Author: Michael Forney <mforney@mforney.org>
Date: Sun, 30 Jun 2019 21:45:03 -0700
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:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git 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', [[