Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / wxPython / 4.2-ctypes.patch
blob17fd8a9a8490c506046dd0afef9f16353eab5e0d
1 diff --git a/wx/lib/wxcairo/wx_pycairo.py b/wx/lib/wxcairo/wx_pycairo.py
2 index 7cfe3071..24d1120f 100644
3 --- a/wx/lib/wxcairo/wx_pycairo.py
4 +++ b/wx/lib/wxcairo/wx_pycairo.py
5 @@ -197,7 +197,12 @@ def _findCairoLib():
7 # For other DLLs we'll just use a dictionary to track them, as there
8 # probably isn't any need to use them outside of this module.
9 -_dlls = dict()
10 +_dlls = {
11 + "gdk": ctypes.CDLL("@libgdk@"),
12 + "pangocairo": ctypes.CDLL("@libpangocairo@"),
13 + "cairoLib": ctypes.CDLL("@libcairo@"),
14 + "appsvc": ctypes.CDLL(None),
17 def _findHelper(names, key, msg):
18 dll = _dlls.get(key, None)