diff options
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 2 |
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: |