From e683ac6f81306a03d8fe6bedeb5ca1a6facd6f1f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 12 Apr 2010 00:21:21 -0600 Subject: build: allow target upgrades from EMPTY to SYSLIB A library may be initially set as empty if it wasn't needed for a list of functions in CHECK_FUNCS_IN(). A later check may require the library. Pair-Programmed-With: Kai Blin --- buildtools/wafsamba/samba_autoconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools/wafsamba/samba_autoconf.py') diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index fcd900dec1..60c505717b 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -449,7 +449,7 @@ def CHECK_LIB(conf, libs, mandatory=False, empty_decl=True): liblist = TO_LIST(libs) ret = True for lib in liblist[:]: - if GET_TARGET_TYPE(conf, lib): + if GET_TARGET_TYPE(conf, lib) == 'SYSLIB': continue (ccflags, ldflags) = library_flags(conf, lib) -- cgit