meson: fixed sandbox violation error

This commit is contained in:
Steven Engler 2022-03-08 21:56:51 -05:00
parent 04676936e7
commit bc00cfcf2d

View file

@ -36,13 +36,13 @@ foreach p : protocols
xml = join_paths(p) xml = join_paths(p)
wl_protos_src += custom_target( wl_protos_src += custom_target(
xml.underscorify() + '_server_c', xml.underscorify() + '_server_c',
input: xml, input: files(xml),
output: '@BASENAME@-protocol.c', output: '@BASENAME@-protocol.c',
command: [wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'], command: [wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'],
) )
wl_protos_headers += custom_target( wl_protos_headers += custom_target(
xml.underscorify() + '_server_h', xml.underscorify() + '_server_h',
input: xml, input: files(xml),
output: '@BASENAME@-protocol.h', output: '@BASENAME@-protocol.h',
command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'], command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
) )
@ -52,7 +52,7 @@ foreach p : client_protocols
xml = join_paths(p) xml = join_paths(p)
wl_protos_headers += custom_target( wl_protos_headers += custom_target(
xml.underscorify() + '_client_h', xml.underscorify() + '_client_h',
input: xml, input: files(xml),
output: '@BASENAME@-client-protocol.h', output: '@BASENAME@-client-protocol.h',
command: [wayland_scanner, 'client-header', '@INPUT@', '@OUTPUT@'], command: [wayland_scanner, 'client-header', '@INPUT@', '@OUTPUT@'],
) )