Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 196dbc37 authored by Todd Kennedy's avatar Todd Kennedy
Browse files

Mark symbols as dynamic for shared libraries

Bug: 111425000
Change-Id: Ic1a68ac90d5e0443a536ee9ce75a72bc370cd673
Test: build, install and run the shared library test application
parent bba51fed
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -193,6 +193,7 @@ std::unique_ptr<SymbolTable::Symbol> ResourceTableSymbolSource::FindByName(

  if (sr.package->id && sr.type->id && sr.entry->id) {
    symbol->id = ResourceId(sr.package->id.value(), sr.type->id.value(), sr.entry->id.value());
    symbol->is_dynamic = (sr.package->id.value() == 0);
  }

  if (name.type == ResourceType::kAttr || name.type == ResourceType::kAttrPrivate) {