depot/third_party/nixpkgs/pkgs/development/python-modules/eduvpn-common/use-nix-lib.patch
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

10 lines
327 B
Diff

--- a/eduvpn_common/loader.py
+++ b/eduvpn_common/loader.py
@@ -22,6 +22,7 @@ def load_lib() -> CDLL:
:return: The Go shared library loaded with cdll.LoadLibrary from ctypes
:rtype: CDLL
"""
+ return cdll.LoadLibrary("@libeduvpn-common@")
libfile = f"libeduvpn_common-{__version__}.so"
lib = None