diff options
author | Dominique Leuenberger <dimstar@opensuse.org> | 2020-12-15 09:25:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 09:25:48 +0100 |
commit | 85a5b07a338550090a005aa9e881951009fdd0dc (patch) | |
tree | 0e8fb92c1e47dd7e3ef8600a5acdf7c30326e80b | |
parent | b5df12eb978c8f7c0dfcf7d1c9c25dc224c96cae (diff) | |
parent | 9ac953d83a67567b4fca6bc3f988681bc5ff2686 (diff) | |
download | libproxy-git-85a5b07a338550090a005aa9e881951009fdd0dc.tar.gz |
Merge pull request #149 from bigon/remove-libc
python: Do not load the libc anymore
-rw-r--r-- | bindings/python/libproxy.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bindings/python/libproxy.py b/bindings/python/libproxy.py index 2224a19..21c64b4 100644 --- a/bindings/python/libproxy.py +++ b/bindings/python/libproxy.py @@ -35,12 +35,6 @@ def _load(name, *versions): return ctypes.cdll.LoadLibrary(name_ver) raise ImportError("Unable to find %s library" % name) -# Load C library -if platform.system() == "Windows": - _libc = ctypes.cdll.msvcrt -else: - _libc = _load("c", 6) - # Load libproxy _libproxy = _load("proxy", 1) _libproxy.px_proxy_factory_new.restype = ctypes.POINTER(ctypes.c_void_p) |