[all-commits] [llvm/llvm-project] 372ad3: llvm-config: do not link absolute paths with `-l`

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Tue Dec 3 08:54:20 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 372ad32734ecb455f9fb4d0601229ca2dfc78b66
      https://github.com/llvm/llvm-project/commit/372ad32734ecb455f9fb4d0601229ca2dfc78b66
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M llvm/tools/llvm-config/CMakeLists.txt

  Log Message:
  -----------
  llvm-config: do not link absolute paths with `-l`

When dealing with system libraries which are absolute paths, use the
absolute path rather than the `-l` option.  This ensures that the system
library can be properly linked against.  This is needed to enable using
proper link dependencies in CMake.




More information about the All-commits mailing list