summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-16 00:41:34 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-16 01:32:05 +0000
commit7af56875040c0d170d3313bb0e0c126d3f19aed8 (patch)
treed096335eab6e90c90146877ad77997490d509779 /buildtools
parent06fc79f1fde5963ef89027e2cd297e866aa8c204 (diff)
downloadsamba-7af56875040c0d170d3313bb0e0c126d3f19aed8.tar.gz
samba-7af56875040c0d170d3313bb0e0c126d3f19aed8.tar.bz2
samba-7af56875040c0d170d3313bb0e0c126d3f19aed8.zip
heimdal_build: Use existing functions for finding system libraries.
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 29b0a501c8..822e49ce49 100644
--- a/buildtools/wafsamba/samba_bundled.py
+++ b/buildtools/wafsamba/samba_bundled.py
@@ -104,7 +104,7 @@ def CHECK_BUNDLED_SYSTEM(conf, libname, minversion='0.0.0',
'''helper function for CHECK_BUNDLED_SYSTEM'''
if checkfunctions is None:
return True
- if require_headers and headers and not conf.CHECK_HEADERS(headers):
+ if require_headers and headers and not conf.CHECK_HEADERS(headers, lib=libname):
return False
return conf.CHECK_FUNCS_IN(checkfunctions, libname, headers=headers,
empty_decl=False, set_target=False)