mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
Dependent libraries could be native too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b726396ab
commit
126b1b8683
@ -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