fix rpath

This commit is contained in:
2024-07-18 14:35:16 -06:00
parent bbd0d91a09
commit 52cfee7f17

View File

@@ -519,7 +519,7 @@ elif platform == "posix":
"BoE Scenario Editor",
]
for targ in targets:
atexit.register(lambda: subprocess.call(['patchelf', '--set-rpath', '$ORIGIN', targ], cwd='build/Blades of Exile'))
atexit.register(lambda: subprocess.call(['patchelf', '--set-rpath', '.', targ], cwd='build/Blades of Exile'))
bundled_libs += Split("""
GL
X11