Bug 878791 - Link OS.File to 'libc.so' and 'a.out' without further niceties. r=glandium

This commit is contained in:
David Rajchenbach-Teller 2014-01-13 09:09:30 -05:00
parent cbdb4499f1
commit 756b05fa7c

View File

@ -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]);