summaryrefslogtreecommitdiff
path: root/pkg/swc/gen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/swc/gen.lua')
-rw-r--r--pkg/swc/gen.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/swc/gen.lua b/pkg/swc/gen.lua
index a65cbd3c..6c163738 100644
--- a/pkg/swc/gen.lua
+++ b/pkg/swc/gen.lua
@@ -18,7 +18,11 @@ cflags{
cc('launch/protocol.c')
-waylandproto('protocol/swc.xml', 'include/swc-client-protocol.h', 'include/swc-server-protocol.h', 'swc-protocol.c')
+waylandproto('protocol/swc.xml', {
+ client='include/swc-client-protocol.h',
+ server='include/swc-server-protocol.h',
+ code='swc-protocol.c',
+})
pkg.hdrs = {
copy('$outdir/include', '$srcdir/libswc', {'swc.h'}),