Escape >= in pkg-config command in cross-platform way
This commit is contained in:
parent
ab8081041d
commit
bae75f5c4b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ def CheckPango(context, backend, require_version = None):
|
|||
env["ENV"]["PKG_CONFIG_PATH"] = environ.get("PKG_CONFIG_PATH")
|
||||
version_arg = ""
|
||||
if require_version:
|
||||
version_arg = " \\>= " + require_version
|
||||
version_arg = env["ESCAPE"](" >= ") + require_version
|
||||
env.ParseConfig("pkg-config --libs --cflags $PKGCONFIG_FLAGS pango" + backend + version_arg)
|
||||
context.Result("yes")
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue