diff --git a/setup/build_environment.py b/setup/build_environment.py index ff549692d7..ae0648ff52 100644 --- a/setup/build_environment.py +++ b/setup/build_environment.py @@ -37,7 +37,7 @@ QMAKE = os.environ.get('QMAKE', QMAKE) PKGCONFIG = find_executable('pkg-config') PKGCONFIG = os.environ.get('PKG_CONFIG', PKGCONFIG) -if islinux or ishaiku and not PKGCONFIG: +if (islinux or ishaiku) 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') def run_pkgconfig(name, envvar, default, flag, prefix):