summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_autoconf.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-12 00:21:21 -0600
committerAndrew Tridgell <tridge@samba.org>2010-04-12 17:47:29 +1000
commite683ac6f81306a03d8fe6bedeb5ca1a6facd6f1f (patch)
tree8a575c9d592143b5d2e796c1324624e22a7b809e /buildtools/wafsamba/samba_autoconf.py
parentd70a7befb6dd2168c31a657fc0c6ab3b5f69c91e (diff)
downloadsamba-e683ac6f81306a03d8fe6bedeb5ca1a6facd6f1f.tar.gz
samba-e683ac6f81306a03d8fe6bedeb5ca1a6facd6f1f.tar.bz2
samba-e683ac6f81306a03d8fe6bedeb5ca1a6facd6f1f.zip
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 <kai@samba.org>
Diffstat (limited to 'buildtools/wafsamba/samba_autoconf.py')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py2
1 files changed, 1 insertions, 1 deletions
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)