summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 9966b32d5a..84f6a2d10f 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -280,7 +280,7 @@ 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)
+ conf.define('HAVE_LIB%s' % string.replace(library.upper(),'-','_'), 1)
ret = True
for f in remaining: