summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-11-12 16:56:01 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-11-13 18:06:06 +0100
commit2f2913349146e03b498f305f046c92344508da69 (patch)
tree26428e18894253ad7e760a53e1f0c4d9171f920a /buildtools
parentc5260788067a3fe1e2f10120e99a16e7cd28bac9 (diff)
downloadsamba-2f2913349146e03b498f305f046c92344508da69.tar.gz
samba-2f2913349146e03b498f305f046c92344508da69.tar.bz2
samba-2f2913349146e03b498f305f046c92344508da69.zip
wafsambaa: Support libraries that don't have the same name as their pkg-config file.
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_bundled.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py
index aeaf8ca1c6..95d0c7d82e 100644
--- a/buildtools/wafsamba/samba_bundled.py
+++ b/buildtools/wafsamba/samba_bundled.py
@@ -126,7 +126,7 @@ def CHECK_BUNDLED_SYSTEM_PKG(conf, libname, minversion='0.0.0',
pkg = libname
if conf.check_cfg(package=pkg,
- args='"%s >= %s" --cflags --libs' % (libname, minversion),
+ args='"%s >= %s" --cflags --libs' % (pkg, minversion),
msg=msg):
conf.SET_TARGET_TYPE(libname, 'SYSLIB')
conf.env[found] = True