mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
20 lines
No EOL
354 B
Diff
20 lines
No EOL
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
|