diff --git a/game_payload/blob/tp6c.obj b/game_payload/blob/tp6c.o similarity index 100% rename from game_payload/blob/tp6c.obj rename to game_payload/blob/tp6c.o diff --git a/game_payload/meson.build b/game_payload/meson.build index 24519ff..9b166fc 100644 --- a/game_payload/meson.build +++ b/game_payload/meson.build @@ -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(