mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 778167 - Fix the offset of OS X libraries. r=bgirard.
This commit is contained in:
parent
15948adb1f
commit
584c37691a
@ -65,7 +65,7 @@ void addSharedLibrary(const platform_mach_header* header, char *name, SharedLibr
|
||||
if (!strcmp(seg->segname, "__TEXT")) {
|
||||
size = seg->vmsize;
|
||||
unsigned long long start = reinterpret_cast<unsigned long long>(header);
|
||||
info.AddSharedLibrary(SharedLibrary(start, start+seg->vmsize, seg->vmsize, name));
|
||||
info.AddSharedLibrary(SharedLibrary(start, start+seg->vmsize, 0, name));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user