summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/samba_autoconf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index be8e125896..9966b32d5a 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -280,6 +280,8 @@ def CHECK_FUNCS_IN(conf, list, library, mandatory=False, checklibc=False):
LOCAL_CACHE_SET(conf, 'EMPTY_TARGETS', library.upper(), True)
return False
+ conf.define('HAVE_LIB%s' % library.upper(), 1)
+
ret = True
for f in remaining:
if not conf.check(function_name=f, lib=library, header_name=conf.env.hlist):