mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 00:54:46 +00:00
20 lines
354 B
Diff
20 lines
354 B
Diff
--- a/Screenkey/xlib.py
|
|
+++ b/Screenkey/xlib.py
|
|
@@ -6,7 +6,7 @@
|
|
from ctypes import *
|
|
|
|
## base X11
|
|
-libX11 = CDLL('libX11.so.6')
|
|
+libX11 = CDLL('@libX11@/lib/libX11.so.6')
|
|
|
|
# types
|
|
Atom = c_ulong
|
|
@@ -278,7 +278,7 @@
|
|
|
|
|
|
## record extensions
|
|
-libXtst = CDLL('libXtst.so.6')
|
|
+libXtst = CDLL('@libXtst@/lib/libXtst.so.6')
|
|
|
|
# types
|
|
XPointer = String
|