Update recipes/cctbx/fix_macos_rpath.py
Use $OTOOL environment variable
@@ -17,7 +17,7 @@ if __name__ == '__main__':
+ glob.glob('build/**/timing/*', recursive=True) \
+ glob.glob('build/**/boost_python/*.so', recursive=True)
for ext_file in exe_dev_files + ext_files + lib_files + test_files:
- libraries = check_output(['otool', '-L', ext_file]).decode('utf8').split('\n')
+ libraries = check_output([os.environ['OTOOL'], '-L', ext_file]).decode('utf8').split('\n')
for line in libraries[1:]:
lib = line.replace('\t', '').split()
if len(lib) > 0:
