mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Dependent libraries could be native too.
llvm-svn: 36582
This commit is contained in:
parent
8e71316320
commit
d27ed404ea
@ -54,9 +54,12 @@ Linker::LinkInItems(const ItemList& Items, ItemList& NativeItems) {
|
||||
// symbols.
|
||||
bool is_native;
|
||||
for (Module::lib_iterator I = Composite->lib_begin(),
|
||||
E = Composite->lib_end(); I != E; ++I)
|
||||
E = Composite->lib_end(); I != E; ++I) {
|
||||
if(LinkInLibrary(*I, is_native))
|
||||
return true;
|
||||
if (is_native)
|
||||
NativeItems.push_back(std::make_pair(*I, true));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user