Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions unix-ffi/ffilib/ffilib.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def open(name, maxver=10, extra=()):
pass

def libs():
if sys.platform == "linux":
if sys.platform in ("linux", "freebsd"):
yield "%s.so" % name
for i in range(maxver, -1, -1):
yield "%s.so.%u" % (name, i)
Expand All @@ -39,7 +39,7 @@ def libs():


def libc():
return open("libc", 6)
return open("libc", 7)


# Find out bitness of the platform, even if long ints are not supported
Expand Down
Loading