summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 17:54:05 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:44 +1000
commit6beff490c552159f24f9b84da33af83c1e626322 (patch)
treeafecc84e9303c1b71102601c1f6c606320e00aa1
parent332553d8abb0711a2c38d1499b22194c62c80bd2 (diff)
downloadsamba-6beff490c552159f24f9b84da33af83c1e626322.tar.gz
samba-6beff490c552159f24f9b84da33af83c1e626322.tar.bz2
samba-6beff490c552159f24f9b84da33af83c1e626322.zip
build: fix name of libs with - in them
-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: