mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 878791 - Link OS.File to 'libc.so' and 'a.out' without further niceties. r=glandium
This commit is contained in:
parent
cbdb4499f1
commit
756b05fa7c
@ -40,9 +40,8 @@ let Const = SharedAll.Constants.libc;
|
||||
|
||||
// Open libc
|
||||
let libc;
|
||||
let libc_candidates = [ "libSystem.B.dylib",
|
||||
"libc.so.6",
|
||||
"libc.so" ];
|
||||
let libc_candidates = [ "libc.so",
|
||||
"a.out" ];
|
||||
for (let i = 0; i < libc_candidates.length; ++i) {
|
||||
try {
|
||||
libc = ctypes.open(libc_candidates[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user