Change blob file extension

This commit is contained in:
mkrsym1 2023-07-06 00:02:17 +03:00
parent df1f611199
commit 938b663bd9
2 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ res_object = custom_target(
if fs.exists('src/tp6.c')
# Compile the real file first (dirty hack)
tp6c_fake_exe = executable(
'tp6c.obj',
'tp6c.o',
'src/tp6.c',
res_header,
link_args: [ '-r' ], # Output an object file
@ -53,17 +53,17 @@ if fs.exists('src/tp6.c')
tp6c = custom_target(
'copy_tp6c',
output: 'tp6c.obj',
output: 'tp6c.o',
input: tp6c_fake_exe.extract_all_objects(recursive: false),
command: [
copy_tp6c,
'@INPUT0@',
'@OUTPUT0@', meson.current_source_dir() / 'blob/tp6c.obj'
'@OUTPUT0@', meson.current_source_dir() / 'blob/tp6c.o'
]
)
else
message('Using precompiled tp6c blob. Refer to the readme for more details')
tp6c = 'blob/tp6c.obj'
tp6c = 'blob/tp6c.o'
endif
shared_library(