mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Proper path for ffmpeg libs on windows
This commit is contained in:
parent
76b3da6edf
commit
2010f2ca48
@ -211,7 +211,7 @@ else:
|
|||||||
|
|
||||||
if os.path.exists(os.path.join(sw, 'ffmpeg')):
|
if os.path.exists(os.path.join(sw, 'ffmpeg')):
|
||||||
ffmpeg_inc_dirs = [os.path.join(sw, 'ffmpeg', 'include')] + ffmpeg_inc_dirs
|
ffmpeg_inc_dirs = [os.path.join(sw, 'ffmpeg', 'include')] + ffmpeg_inc_dirs
|
||||||
ffmpeg_lib_dirs = [os.path.join(sw, 'ffmpeg', 'lib')] + ffmpeg_lib_dirs
|
ffmpeg_lib_dirs = [os.path.join(sw, 'ffmpeg', 'bin' if iswindows else 'lib')] + ffmpeg_lib_dirs
|
||||||
|
|
||||||
|
|
||||||
if 'PODOFO_PREFIX' in os.environ:
|
if 'PODOFO_PREFIX' in os.environ:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user