Skip to content

Commit c87eb28

Browse files
committed
unix-ffi/_libc/_libc.py: 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 fixes #962. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
1 parent 00efb6c commit c87eb28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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():

0 commit comments

Comments
 (0)