Skip to content

Commit 41927d7

Browse files
agattidpgeorge
authored andcommitted
unix-ffi/_libc: Extend FreeBSD libc versions range.
This commit adds support for more recent versions of FreeBSD to the _libc module. FreeBSD bumped up the major version of its libc library around 14.1-RELEASE, and the _libc module wasn't updated to keep track of this change. The current version of FreeBSD at the time of this commit is 15.0-RELEASE, so this change should unlock support for two major versions of the OS in question. This change might also work with other BSD-derived OSes, but it wasn't tested on those systems. This partially fixes #962. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
1 parent 00efb6c commit 41927d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

unix-ffi/_libc/_libc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
_h = None
66

7-
names = ("libc.so", "libc.so.0", "libc.so.6", "libc.dylib")
7+
names = ("libc.so", "libc.so.0", "libc.so.6", "libc.so.7", "libc.dylib")
88

99

1010
def get():

unix-ffi/_libc/manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
metadata(
22
description="MicroPython FFI helper module (deprecated, replaced by micropython-ffilib).",
3-
version="0.3.1",
3+
version="0.4.0",
44
)
55

66
# Originally written by Paul Sokolovsky.

0 commit comments

Comments
 (0)