← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/bug-1825925-mac-dylib-fix into lp:widelands/build20

 

Toni Förster has proposed merging lp:~widelands-dev/widelands/bug-1825925-mac-dylib-fix into lp:widelands/build20.

Commit message:
macOS: fix ids for dylib

Requested reviews:
  SirVer (sirver)
Related bugs:
  Bug #1825925 in widelands: "Mac OS builds for >= 10.9 have no sound playing"
  https://bugs.launchpad.net/widelands/+bug/1825925

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug-1825925-mac-dylib-fix/+merge/366418
-- 
Your team Widelands Developers is subscribed to branch lp:widelands/build20.
=== modified file 'utils/macos/fix_dependencies.py'
--- utils/macos/fix_dependencies.py	2018-12-13 07:24:01 +0000
+++ utils/macos/fix_dependencies.py	2019-04-23 20:18:47 +0000
@@ -93,7 +93,8 @@
         print('Fixing binary: %s' % binary)
         for (dep_name, dep_path) in all_dependencies.items():
             subprocess.check_call(['/usr/bin/install_name_tool', '-change',
-                                   dep_name, '@executable_path/' + p.basename(dep_path), binary])
+                                   dep_name, '@executable_path/' + p.basename(dep_path),
+                                   '-id', '@executable_path/' + p.basename(dep_path), binary])
 
 
 if __name__ == '__main__':


Follow ups