Mercurial > fife-parpg
diff utils/scons/scons_utils.py @ 426:a79084d8167c
fix for build system dependency checks when using pkg-config. The pkg-config call was incorrect b/c the name of the package was never being set.
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 20 Feb 2010 20:50:30 +0000 |
parents | 81641655bc38 |
children |
line wrap: on
line diff
--- a/utils/scons/scons_utils.py Sat Feb 20 19:11:01 2010 +0000 +++ b/utils/scons/scons_utils.py Sat Feb 20 20:50:30 2010 +0000 @@ -79,7 +79,7 @@ def checkPKG(context, name): context.Message('Checking for %s (using pkg-config)...' %name) - return tryConfigCommand(context, 'pkg-config --libs --cflags \'%s\'') + return tryConfigCommand(context, 'pkg-config --libs --cflags \'%s\'' %name.lower()) def checkConf(context, name): binary = '%s-config' % name.lower()