[PATCH] D69412: build: avoid hardcoding the libxml2 library name

Steven Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 1 17:40:27 PST 2019


srj added a comment.

This has injected a bug into `llvm-config --system-libs` (at least, on OSX and Linux) for me; previously, the output would be something like

  -lz -lrt -ldl -lpthread -lm -lxml2

but now, it's

  -lz -lrt -ldl -lpthread -lm -l/usr/lib/x86_64-linux-gnu/libxml2.so

which is not a legal set of args to the linker. (This is breaking Halide's downstream use of LLVM, as it relies on `llvm-config --system-libs`.)


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69412/new/

https://reviews.llvm.org/D69412





More information about the llvm-commits mailing list