nixpkgs/pkgs/development/python-modules/python-vlc/vlc-paths.patch
2025-01-27 10:57:02 +01:00

13 lines
322 B
Diff

diff --git a/vlc.py b/vlc.py
index ce535be..d3edd69 100644
--- a/vlc.py
+++ b/vlc.py
@@ -179,7 +179,7 @@ def find_lib():
else:
# All other OSes (linux, freebsd...)
- p = find_library("vlc")
+ p = "@libvlc@"
try:
dll = ctypes.CDLL(p)
except OSError: # may fail