Silence pkg-config errors.
This commit is contained in:
parent
b2829b1a1a
commit
f19234e833
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import os
|
|||
def run_pkg_config(env, name):
|
||||
try:
|
||||
env["ENV"]["PKG_CONFIG_PATH"] = os.environ.get("PKG_CONFIG_PATH")
|
||||
env.ParseConfig("pkg-config --libs --cflags $PKGCONFIG_FLAGS \"" + name + "\"")
|
||||
env.ParseConfig("pkg-config --libs --cflags --silence-errors $PKGCONFIG_FLAGS \"" + name + "\"")
|
||||
return True
|
||||
except OSError:
|
||||
return False
|
||||
|
|
Loading…
Add table
Reference in a new issue