summaryrefslogtreecommitdiff
path: root/ninja.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-10-22 19:48:30 -0700
committerMichael Forney <mforney@mforney.org>2018-11-03 01:20:57 -0700
commitbba4833013ba5eb2f1b9088c5baaba9e091b9902 (patch)
treea4236f69df299adb766171706598bf9213b63c32 /ninja.lua
parent0a7ac4127852e5e13fa3733a4cd35460451181e1 (diff)
Update to stable xdg-shell
Since xdg-shell-unstable-5-protocol.c and xdg-shell-protocol.c define conflicting symbols, this commit updates swc, netsurf, mupdf, and st all at once.
Diffstat (limited to 'ninja.lua')
-rw-r--r--ninja.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/ninja.lua b/ninja.lua
index ec1b8894..0418b189 100644
--- a/ninja.lua
+++ b/ninja.lua
@@ -360,7 +360,7 @@ function yacc(name, gram)
})
end
-function waylandproto(proto, client, server, code)
+function waylandproto(proto, client, server, code, args)
proto = '$srcdir/'..proto
code = '$outdir/'..code
if client then
@@ -371,8 +371,8 @@ function waylandproto(proto, client, server, code)
end
if code then
build('waylandproto', code, proto, {type='code'})
+ cc(code, {'pkg/wayland/headers'}, args)
end
- cc(code, {'pkg/wayland/headers'})
end
function fetch(method)