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
|
// Open libc
|
||||||
let libc;
|
let libc;
|
||||||
let libc_candidates = [ "libSystem.B.dylib",
|
let libc_candidates = [ "libc.so",
|
||||||
"libc.so.6",
|
"a.out" ];
|
||||||
"libc.so" ];
|
|
||||||
for (let i = 0; i < libc_candidates.length; ++i) {
|
for (let i = 0; i < libc_candidates.length; ++i) {
|
||||||
try {
|
try {
|
||||||
libc = ctypes.open(libc_candidates[i]);
|
libc = ctypes.open(libc_candidates[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user