nixpkgs/pkgs/development/python-modules/python-vlc/vlc-paths.patch
Tyler Benster bf218e6cbc
python3Packages.python-vlc: init at 3.0.7110
Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
2019-10-30 13:25:17 +01:00

14 lines
326 B
Diff

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