Commit 98d6ed87 authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

scons: Check for pkg-config before trying to use it

Silences warning about missing packages
parent b4ac0adb
......@@ -114,6 +114,9 @@ def pkg_config_modules(env, name, modules):
if not env.Detect('pkg-config'):
if["pkg-config", "--exists", ' '.join(modules)]) != 0:
# Put -I and -L flags directly into the environment, as these don't affect
# the compilation of targets that do not use them
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment