Set correct rpath for OpenAL

master
Andrey Lihatskiy 2025-03-12 17:11:50 +02:00
parent 7e9e5bf872
commit d8fa590fca
1 changed files with 6 additions and 0 deletions

View File

@ -1027,6 +1027,12 @@ class Darwin_x86_64_Manifest(ViewerManifest):
):
dylibs += path_optional(os.path.join(relpkgdir, libfile), libfile)
oldpath = os.path.join("@rpath", libfile)
self.run_command(
['install_name_tool', '-change', oldpath,
'@executable_path/../Resources/%s' % libfile,
executable])
# our apps
executable_path = {}
embedded_apps = [ (os.path.join("llplugin", "slplugin"), "SLPlugin.app") ]