mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-12-27 23:45:15 +00:00
Use the same soname for the freetype library as webengine uses
Some checks are pending
CI / Test on ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test on ${{ matrix.os }} (ubuntu-latest) (push) Waiting to run
CI / Test on ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test on Arch (push) Waiting to run
Transifex / Update translations on Transifex (push) Waiting to run
Some checks are pending
CI / Test on ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test on ${{ matrix.os }} (ubuntu-latest) (push) Waiting to run
CI / Test on ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test on Arch (push) Waiting to run
Transifex / Update translations on Transifex (push) Waiting to run
This commit is contained in:
parent
8fbb9b254b
commit
ee88003c01
@ -801,8 +801,9 @@ def check_glibc_version(min_required=(2, 31), release_date='2020-02-01'):
|
||||
|
||||
def check_for_recent_freetype():
|
||||
import ctypes
|
||||
f = None
|
||||
try:
|
||||
f = ctypes.CDLL('libfreetype.so')
|
||||
f = ctypes.CDLL('libfreetype.so.6')
|
||||
except OSError:
|
||||
raise SystemExit('Your system is missing the FreeType library libfreetype.so. Try installing the freetype package.')
|
||||
try:
|
||||
|
||||
@ -850,8 +850,9 @@ def check_glibc_version(min_required=(2, 31), release_date='2020-02-01'):
|
||||
|
||||
def check_for_recent_freetype():
|
||||
import ctypes
|
||||
f = None
|
||||
try:
|
||||
f = ctypes.CDLL('libfreetype.so')
|
||||
f = ctypes.CDLL('libfreetype.so.6')
|
||||
except OSError:
|
||||
raise SystemExit('Your system is missing the FreeType library libfreetype.so. Try installing the freetype package.')
|
||||
try:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user