diff options
Diffstat (limited to 'xlators/features/changelog/lib/examples/python/libgfchangelog.py')
-rw-r--r-- | xlators/features/changelog/lib/examples/python/libgfchangelog.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/features/changelog/lib/examples/python/libgfchangelog.py b/xlators/features/changelog/lib/examples/python/libgfchangelog.py index 10e73c02b34..2cdbf1152b9 100644 --- a/xlators/features/changelog/lib/examples/python/libgfchangelog.py +++ b/xlators/features/changelog/lib/examples/python/libgfchangelog.py @@ -1,9 +1,8 @@ import os from ctypes import * -from ctypes.util import find_library class Changes(object): - libgfc = CDLL(find_library("gfchangelog"), mode=RTLD_GLOBAL, use_errno=True) + libgfc = CDLL("libgfchangelog.so", mode=RTLD_GLOBAL, use_errno=True) @classmethod def geterrno(cls): |