engine, game_launch: fix rpath usage

This commit is contained in:
Alibek Omarov 2022-07-25 19:56:31 +03:00
parent c326853617
commit fc132e87f4
2 changed files with 3 additions and 2 deletions

View File

@ -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'
)

View File

@ -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
)