From 7af56875040c0d170d3313bb0e0c126d3f19aed8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 16 Oct 2010 00:41:34 +0200 Subject: heimdal_build: Use existing functions for finding system libraries. --- buildtools/wafsamba/samba_bundled.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools') 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) -- cgit