Skip to content

Commit

Permalink
fix_apple_shared_install_name: fix binaries regardless of shared opti…
Browse files Browse the repository at this point in the history
…on (#12960)

fix Apple shared libs regardless of shared option
  • Loading branch information
SpaceIm authored Jan 24, 2023
1 parent 953f2ad commit 43c1834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conan/tools/apple/apple.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def _fix_executables(conanfile, substitutions):
command = f"install_name_tool {executable} -add_rpath {entry}"
conanfile.run(command)

if is_apple_os(conanfile) and conanfile.options.get_safe("shared", False):
if is_apple_os(conanfile):
substitutions = _fix_dylib_files(conanfile)

# Only "fix" executables if dylib files were patched, otherwise
Expand Down

0 comments on commit 43c1834

Please sign in to comment.