build: drop "server" from target name for protocol code

(cherry picked from commit e5475d9310)
This commit is contained in:
Simon Ser 2022-11-25 10:48:07 +01:00
parent 61e4e65ea6
commit 2a6bcc6738

View file

@ -23,7 +23,7 @@ wl_protos_headers = []
foreach xml : protocols foreach xml : protocols
wl_protos_src += custom_target( wl_protos_src += custom_target(
xml.underscorify() + '_server_c', xml.underscorify() + '_c',
input: xml, input: xml,
output: '@BASENAME@-protocol.c', output: '@BASENAME@-protocol.c',
command: [wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'], command: [wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'],