--- dodo.py.orig 2018-12-17 05:09:24.000000000 -0800 +++ dodo.py 2019-02-17 18:55:24.000000000 -0800 @@ -55,8 +55,11 @@ SO_VERSION=version.SO_VERSION def soname(target_binary): - if "darwin" in sys.platform or "msys" in sys.platform: + if "msys" in sys.platform: return '' + + if "darwin" in sys.platform: + return '-Wl,-install_name,' + config.PREFIX + '/lib/' + target_binary return '-Wl,-soname,' + target_binary