Skip to content

cerbero: Do not add rpaths that already exist on macOS

Fixes spammy errors while merging into a universal binary.

[(0/1 @ 100%) MERGE: zlib]
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /var/folders/d1/nzvfv38x5qg8qbklsnk1j9xh0000gn/T/tmpfi4eoq96libz.1.dylib (for architecture arm64) option "-add_rpath ." would duplicate path, file already has LC_RPATH for: .
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /var/folders/d1/nzvfv38x5qg8qbklsnk1j9xh0000gn/T/tmpfi4eoq96libz.1.dylib (for architecture arm64) option "-add_rpath @loader_path/.." would duplicate path, file already has LC_RPATH for: @loader_path/..
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /var/folders/d1/nzvfv38x5qg8qbklsnk1j9xh0000gn/T/tmpfi4eoq96libz.1.dylib (for architecture arm64) option "-add_rpath @executable_path/.." would duplicate path, file already has LC_RPATH for: @executable_path/..
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /var/folders/d1/nzvfv38x5qg8qbklsnk1j9xh0000gn/T/tmpfi4eoq96libz.1.dylib (for architecture arm64) option "-add_rpath @loader_path/../lib" would duplicate path, file already has LC_RPATH for: @loader_path/../lib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /var/folders/d1/nzvfv38x5qg8qbklsnk1j9xh0000gn/T/tmpfi4eoq96libz.1.dylib (for architecture arm64) option "-add_rpath @executable_path/../lib" would duplicate path, file already has LC_RPATH for: @executable_path/../lib

Merge request reports

Loading