Ticket #338: uclibc.patch
| File uclibc.patch, 564 bytes (added by stefan, 3 years ago) |
|---|
-
framework/subsystems/odeviced/pyglet/linux.py
diff --git a/framework/subsystems/odeviced/pyglet/linux.py b/framework/subsystems/odeviced/pyglet/linux.py index 22d1c37..1459b46 100644
a b import sys 19 19 20 20 from linux_const import * 21 21 22 c = ctypes.cdll.LoadLibrary('libc.so.6') 22 from re import compile 23 re = compile('^libc.so.[0-9]$') 24 libs = os.listdir('/lib') 25 for lib in libs: 26 if re.match(lib): 27 c = ctypes.cdll.LoadLibrary(lib) 28 break 23 29 24 30 _IOC_NRBITS = 8 25 31 _IOC_TYPEBITS = 8
