From cf21a0a7992149f2010b5b31bb9c71e986e16fe2 Mon Sep 17 00:00:00 2001 From: Speak2Erase Date: Tue, 4 Jun 2024 22:57:35 -0700 Subject: [PATCH] Fix steamshim --- meson.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index a17abc890..0ad8ba06c 100644 --- a/meson.build +++ b/meson.build @@ -164,7 +164,7 @@ if steamworks == true endif shim_args = [ - '-DGAME_LAUNCH_NAME="' + exe_name + '"', + '-DGAME_LAUNCH_NAME="lib/' + exe_name + '"', '-I' + steamworks_path + '/public' ] @@ -179,13 +179,15 @@ if steamworks == true shim_ws = 'windows' endif - executable(meson.project_name(), + executable('steamshim', sources: files('steamshim/steamshim_parent.cpp'), dependencies: steamlib, cpp_args: shim_args, link_args: la.split(), win_subsystem: shim_ws, - install: (host_system != 'windows')) + install: (host_system != 'windows'), + build_rpath: '$ORIGIN' + ) endif executable(exe_name,