Don't use pkg-config's --atleast-version arg when checking for pango
It doesn't seem to work with some versions of pkg-config, e.g. the one found on Ubuntu 10.04
This commit is contained in:
parent
61997d771c
commit
857f238fbd
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ def CheckPango(context, backend, require_version = None):
|
|||
env["ENV"]["PKG_CONFIG_PATH"] = environ.get("PKG_CONFIG_PATH")
|
||||
version_arg = ""
|
||||
if require_version:
|
||||
version_arg = "--atleast-version=" + require_version
|
||||
env.ParseConfig("pkg-config --libs --cflags %s $PKGCONFIG_FLAGS pango" % version_arg + backend)
|
||||
version_arg = " \\>= " + require_version
|
||||
env.ParseConfig("pkg-config --libs --cflags $PKGCONFIG_FLAGS pango" + backend + version_arg)
|
||||
context.Result("yes")
|
||||
return True
|
||||
except OSError:
|
||||
|
|
Loading…
Add table
Reference in a new issue