fix: compilation errors

This commit is contained in:
DanyLE
2025-07-05 20:37:04 +02:00
parent 0a77ed8d91
commit f62a21d3b2

View File

@ -38,8 +38,8 @@ wl_protocols = [
foreach proto : wl_protocols
xml = ''.join([proto,'.xml'])
header = ''.join([proto.split('/').get(-1),'.h'])
cfile = ''.join([proto.split('/').get(-1),'.c'])
header = ''.join([proto.split('/').get(-1),'-protocol.h'])
cfile = ''.join([proto.split('/').get(-1),'-protocol.c'])
wayland_targets += custom_target(header,output:header,input:xml,
command: [ wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@' ] )
wayland_targets += custom_target(cfile,output:cfile,input:xml,