Summary: | devel/llvm80: 'llvm-config80 --libs' doesn't return the directory where the library is located | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Yuri Victorovich <yuri> |
Component: | Individual Port(s) | Assignee: | Brooks Davis <brooks> |
Status: | Closed Works As Intended | ||
Severity: | Affects Only Me | CC: | yuri |
Priority: | --- | Keywords: | needs-qa |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(brooks) |
Hardware: | Any | ||
OS: | Any |
Other llvm versions probably have the same problem too. @Yuri - What should the value be? - Is this a recent change/regression? It should have -L/usr/local/llvm80/lib, otherwise apps invoking ```llvm-config --libs``` fail. Not sure if this is a regression, I never tried it before. I'm not convinced by this analysis. You're expectation matches pkg-config, but llvm-config isn't pkg-config. from llvm-config80's help: --libs Libraries needed to link against LLVM components from pkg-config -h: --libs print required linker flags to stdout (In reply to Brooks Davis from comment #4) > --libs Libraries needed to link against LLVM components Value defined like this can't be useful without a library folder. This perhaps is a problem with how it is defined by LLVM, but this is still a problem. (In reply to Yuri Victorovich from comment #5) > $ llvm-config80 --ldflags > -L/usr/local/llvm80/lib (In reply to Brooks Davis from comment #6) Thanks, Brooks! |
> $ llvm-config80 --libs > -lLLVM-8