depot/third_party/nixpkgs/pkgs/development/python-modules/python-vlc/vlc-paths.patch

13 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