diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-02-19 04:48:27 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-02-19 06:27:55 +0100 |
commit | 5de8beca1815ae15eaf44c30185228f1fa5c6d51 (patch) | |
tree | f74ef1fe6efe7a3ca313113a8a8733e117969c7e | |
parent | 8ce7abd449b3c09a24fd2226d699e87a946dd380 (diff) | |
download | samba-5de8beca1815ae15eaf44c30185228f1fa5c6d51.tar.gz samba-5de8beca1815ae15eaf44c30185228f1fa5c6d51.tar.xz samba-5de8beca1815ae15eaf44c30185228f1fa5c6d51.zip |
waf: Use libraries when building.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Feb 19 06:27:55 CET 2012 on sn-devel-104
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 65dfa781cf..de4632eea8 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -373,6 +373,8 @@ def CHECK_CODE(conf, code, define, (ccflags, ldflags) = library_flags(conf, uselib) + uselib = [l.upper() for l in uselib] + cflags.extend(ccflags) if on_target: @@ -509,9 +511,9 @@ int foo() (ccflags, ldflags) = library_flags(conf, lib) if shlib: - res = conf.check(features='cc cshlib', fragment=fragment, lib=lib, uselib_store=lib, ccflags=ccflags, ldflags=ldflags) + res = conf.check(features='cc cshlib', fragment=fragment, lib=lib, uselib_store=lib, ccflags=ccflags, ldflags=ldflags, uselib=lib.upper()) else: - res = conf.check(lib=lib, uselib_store=lib, ccflags=ccflags, ldflags=ldflags) + res = conf.check(lib=lib, uselib_store=lib, ccflags=ccflags, ldflags=ldflags, uselib=lib.upper()) if not res: if mandatory: |