makepanda: Force DT_RPATH instead of DT_RUNPATH for deploy-stub

Fixes #1358
This commit is contained in:
rdb 2022-08-31 10:28:08 +02:00
parent c966a6898c
commit 8617eb917c

View File

@ -6979,7 +6979,7 @@ if PkgSkip("PYTHON") == 0:
if GetTarget() == 'linux' or GetTarget() == 'freebsd':
# Setup rpath so libs can be found in the same directory as the deployed game
LibName('DEPLOYSTUB', "-Wl,-rpath,\\$ORIGIN")
LibName('DEPLOYSTUB', "-Wl,--disable-new-dtags,-rpath,\\$ORIGIN")
LibName('DEPLOYSTUB', "-Wl,-z,origin")
LibName('DEPLOYSTUB', "-rdynamic")
PyTargetAdd('deploy-stub.exe', input='deploy-stub.obj')