use global tool to fix install_name

This commit is contained in:
Denis Davydov 2016-03-27 16:04:13 +02:00
parent 9cff241ad5
commit 69ebc8173e

View File

@ -225,7 +225,4 @@ def install(self, spec, prefix):
# The shared libraries are not installed correctly on Darwin; correct this
if (sys.platform == 'darwin') and ('+shared' in spec):
fs = glob.glob(join_path(prefix.lib,"*.dylib"))
install_name_tool = which('install_name_tool')
for f in fs:
install_name_tool('-id',f,f)
fix_darwin_install_name(prefix.lib)