summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/wayland/gen.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkg/wayland/gen.lua b/pkg/wayland/gen.lua
index 6131eccd..86dba51f 100644
--- a/pkg/wayland/gen.lua
+++ b/pkg/wayland/gen.lua
@@ -17,10 +17,6 @@ build('sed', '$outdir/include/wayland-version.h', '$srcdir/src/wayland-version.h
},
})
-cc('src/wayland-util.c')
-cc('src/wayland-os.c')
-cc('src/connection.c', {'pkg/libffi/headers'})
-
waylandproto('protocol/wayland.xml',
'include/wayland-client-protocol.h',
'include/wayland-server-protocol.h',
@@ -45,8 +41,13 @@ pkg.deps = {
'$dir/headers',
'$outdir/include/wayland-version.h',
'pkg/expat/headers',
+ 'pkg/libffi/headers',
}
+cc('src/wayland-util.c')
+cc('src/wayland-os.c')
+cc('src/connection.c')
+
exe('wayland-scanner', {'src/scanner.c', 'src/wayland-util.c.o', '$builddir/pkg/expat/libexpat.a.d'})
file('bin/wayland-scanner', '755', '$outdir/wayland-scanner')