Skip to content
Commit ee8188a2 authored by Roman Divacky's avatar Roman Divacky
Browse files

For linking on FreeBSD, don't add a hardcoded "-L/usr/lib", but

retrieve the library paths from the ToolChain object instead.

Copy the relevant code from linuxtools::Link::ConstructJob(), and
replace the std::string stuff with llvm::StringRef, while we're here.

Patch by Dimitry Andric!

llvm-svn: 126757
parent 65b88cdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment