depot/third_party/nixpkgs/pkgs/development/python-modules/python-vlc/vlc-paths.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

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