mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix the soname used to bundle libpodofo on Linux. Fixes #2020842 [converting epub to pdf fails with error "ImportError: libpodofo.so.1: cannot open shared object file: No such file or directory"](https://bugs.launchpad.net/calibre/+bug/2020842)
This commit is contained in:
parent
b120cc9c03
commit
dab71f54e3
@ -46,7 +46,7 @@ def binary_includes():
|
||||
('usb-1.0 mtp expat sqlite3 ffi z lzma openjp2 poppler dbus-1 iconv xml2 xslt jpeg png16'
|
||||
' webp webpmux webpdemux exslt ncursesw readline chm hunspell-1.7 hyphen'
|
||||
' icudata icui18n icuuc icuio stemmer gcrypt gpg-error uchardet graphite2'
|
||||
' brotlicommon brotlidec brotlienc zstd'
|
||||
' brotlicommon brotlidec brotlienc zstd podofo'
|
||||
' gobject-2.0 glib-2.0 gthread-2.0 gmodule-2.0 gio-2.0 dbus-glib-1').split()
|
||||
)) + [
|
||||
# debian/ubuntu for for some typical stupid reason use libpcre.so.3
|
||||
@ -56,7 +56,7 @@ def binary_includes():
|
||||
# than libc and libpthread we bundle the Ubuntu one here
|
||||
glob.glob('/usr/lib/*/libpcre.so.3')[0],
|
||||
|
||||
get_dll_path('podofo', 3), get_dll_path('bz2', 2), j(PREFIX, 'lib', 'libunrar.so'),
|
||||
get_dll_path('bz2', 2), j(PREFIX, 'lib', 'libunrar.so'),
|
||||
get_dll_path('ssl', 2), get_dll_path('crypto', 2), get_dll_path('python' + py_ver, 2),
|
||||
|
||||
# We dont include libstdc++.so as the OpenGL dlls on the target
|
||||
|
Loading…
x
Reference in New Issue
Block a user