We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7ddbd commit f1515f0Copy full SHA for f1515f0
hooks/conan-center.py
@@ -1590,8 +1590,8 @@ def _get_non_relocatable_shared_libs(conanfile):
1590
for dylib_path in glob.glob(os.path.join(libdir, "*.dylib")):
1591
command = f"otool -D {dylib_path}"
1592
install_name = check_output_runner(command).strip().split(":")[1].strip()
1593
- base_install_name = install_name.rsplit("/", 1)[0]
1594
- if base_install_name != "@rpath":
+ install_name_dir = os.path.dirname(install_name)
+ if install_name_dir != "@rpath":
1595
bad_shared_libs.append(os.path.basename(dylib_path))
1596
1597
return bad_shared_libs
0 commit comments