From fc132e87f48b899141a99bac14c315d526b09185 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 25 Jul 2022 19:56:31 +0300 Subject: [PATCH] engine, game_launch: fix rpath usage --- engine/wscript | 3 ++- game_launch/wscript | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/wscript b/engine/wscript index c1479c45..4d2c9eed 100644 --- a/engine/wscript +++ b/engine/wscript @@ -184,5 +184,6 @@ def build(bld): includes = includes, use = libs, install_path = install_path, - subsystem = bld.env.MSVC_SUBSYSTEM + subsystem = bld.env.MSVC_SUBSYSTEM, + rpath = '$ORIGIN' ) diff --git a/game_launch/wscript b/game_launch/wscript index 4b9ad831..d4dab31c 100644 --- a/game_launch/wscript +++ b/game_launch/wscript @@ -37,7 +37,7 @@ def build(bld): features = 'c cxx cxxprogram', includes = includes, use = libs, - rpath = '.', + rpath = '$ORIGIN', install_path = bld.env.BINDIR, subsystem = bld.env.MSVC_SUBSYSTEM )