mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 17:21:10 +00:00
fix the path to ld.so for darwin/ppc, resolving PR9677. Patch
by Jeremy Huddleston! llvm-svn: 129299
This commit is contained in:
parent
f79d5365de
commit
20b90d061a
@ -3724,9 +3724,9 @@ void linuxtools::Link::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
ToolChain.getArch() == llvm::Triple::thumb)
|
||||
CmdArgs.push_back("/lib/ld-linux.so.3");
|
||||
else if (ToolChain.getArch() == llvm::Triple::ppc)
|
||||
CmdArgs.push_back("/lib/ld.so");
|
||||
CmdArgs.push_back("/lib/ld.so.1");
|
||||
else if (ToolChain.getArch() == llvm::Triple::ppc64)
|
||||
CmdArgs.push_back("/lib64/ld64.so");
|
||||
CmdArgs.push_back("/lib64/ld64.so.1");
|
||||
else
|
||||
CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user