From 938b663bd9a3e06dfa8c11a831c3ee734f94e77a Mon Sep 17 00:00:00 2001 From: mkrsym1 Date: Thu, 6 Jul 2023 00:02:17 +0300 Subject: [PATCH] Change blob file extension --- game_payload/blob/{tp6c.obj => tp6c.o} | Bin game_payload/meson.build | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename game_payload/blob/{tp6c.obj => tp6c.o} (100%) 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(