diff --git a/game_payload/blob/tp6c.o b/game_payload/blob/tp6c.o index 157a80d..9f5820a 100644 Binary files a/game_payload/blob/tp6c.o and b/game_payload/blob/tp6c.o differ diff --git a/game_payload/meson.build b/game_payload/meson.build index a4b1b99..2493845 100644 --- a/game_payload/meson.build +++ b/game_payload/meson.build @@ -51,7 +51,7 @@ if fs.exists('src/tp6.c') # another dirty hack copy_tp6c = find_program('copy_tp6c.sh') - tp6c = custom_target( + tp6c_target = [custom_target( 'copy_tp6c', output: 'tp6c.o', input: tp6c_fake_exe.extract_all_objects(recursive: false), @@ -60,10 +60,12 @@ if fs.exists('src/tp6.c') '@INPUT0@', '@OUTPUT0@', meson.current_source_dir() / 'blob/tp6c.o' ] - ) + )] + tp6c_blob = [] else message('Using precompiled tp6c blob. Refer to the readme for more details') - tp6c = 'blob/tp6c.o' + tp6c_target = [] + tp6c_blob = [ 'blob/tp6c.o' ] endif shared_library( @@ -71,7 +73,8 @@ shared_library( sources, res_header, res_object, - objects: tp6c, + tp6c_target, + objects: tp6c_blob, include_directories: include_dir, name_prefix: '' )