musl: fix install of syscall.h and alltypes.h

This commit is contained in:
Ella-0 2021-10-11 17:40:06 +01:00
parent 64ec36b51a
commit b3fa8f77d8
2 changed files with 13 additions and 6 deletions

View file

@ -7,7 +7,9 @@ alltypes_h = custom_target(
meson.project_source_root() + '/include/alltypes.h.in'
],
command : ['sed', '-f', '@INPUT0@', '@INPUT1@', '@INPUT2@'],
capture : true
capture : true,
install : true,
install_dir : 'include/bits/'
)
syscall_h_in = custom_target(
@ -23,6 +25,8 @@ syscall_h = custom_target(
output : 'syscall.h',
input : [ meson.project_source_root() + '/arch/'+arch+'/bits/syscall.h.in', syscall_h_in ],
command : ['cat', '@INPUT0@', '@INPUT1@'],
capture : true
capture : true,
install : true,
install_dir : 'include/bits/'
)