From 6beff490c552159f24f9b84da33af83c1e626322 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Mar 2010 17:54:05 +1100 Subject: build: fix name of libs with - in them --- buildtools/wafsamba/samba_autoconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit