[all-commits] [llvm/llvm-project] 37d93b: lld: ignore the `-search_paths_first` option on MachO

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Wed Jun 3 08:37:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 37d93b528c1c6dc0f77ee517936de61816707023
      https://github.com/llvm/llvm-project/commit/37d93b528c1c6dc0f77ee517936de61816707023
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M lld/MachO/Options.td

  Log Message:
  -----------
  lld: ignore the `-search_paths_first` option on MachO

ld64 provides the `-search_path_firsts` which will search each path in
the library search path order for both `lib[name].dylib`, `lib[name].a`
before moving on (searching all paths for the dylib and then falling
back to the static library if a shared library was not found).

This option has been the default for a long time, but the command line
flag still exists.  Ignore it for compatibility.




More information about the All-commits mailing list