mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Better error message when pkg-config not found
This commit is contained in:
parent
22be8fd68c
commit
4ef778fff8
@ -38,6 +38,8 @@ QMAKE = os.environ.get('QMAKE', QMAKE)
|
||||
|
||||
PKGCONFIG = find_executable('pkg-config')
|
||||
PKGCONFIG = os.environ.get('PKG_CONFIG', PKGCONFIG)
|
||||
if islinux and not PKGCONFIG:
|
||||
raise SystemExit('Failed to find pkg-config on your system. You can use the environment variable PKG_CONFIG to point to the pkg-config executable')
|
||||
|
||||
if iswindows:
|
||||
import win32api
|
||||
|
Loading…
x
Reference in New Issue
Block a user