patch library rpaths

This commit is contained in:
2024-07-18 14:38:29 -06:00
parent 52cfee7f17
commit 5215bc8852

View File

@@ -518,8 +518,9 @@ elif platform == "posix":
"BoE Character Editor",
"BoE Scenario Editor",
]
for targ in targets:
atexit.register(lambda: subprocess.call(['patchelf', '--set-rpath', '.', targ], cwd='build/Blades of Exile'))
atexit.register(lambda:
for targ in targets + [so for so in os.listdir("build/Blades of Exile") if '.so' in so]:
subprocess.call(['patchelf', '--set-rpath', '.', targ], cwd='build/Blades of Exile'))
bundled_libs += Split("""
GL
X11