Mac build was failing due to undefined "executable"

Take the executable declaration code from upstream
master
Beq 2024-07-19 17:28:30 +01:00
parent 5a50d6e5d6
commit 7d65940610
1 changed files with 1 additions and 0 deletions

View File

@ -1535,6 +1535,7 @@ class Darwin_x86_64_Manifest(ViewerManifest):
self.path(libfile)
oldpath = os.path.join("@rpath", libfile)
executable = self.dst_path_of(self.channel())
self.run_command(
['install_name_tool', '-change', oldpath,
'@executable_path/../Resources/%s' % libfile,