summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_bundled.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-28 18:33:25 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:13 +1000
commit20146b3fe03f08c72db313973b75019e13198534 (patch)
tree2600bd88981ad2d7a13b97013cef72155583f5b8 /buildtools/wafsamba/samba_bundled.py
parent32ac04c0286edc5e3afe6f5cef18ccbbc79af4fd (diff)
downloadsamba-20146b3fe03f08c72db313973b75019e13198534.tar.gz
samba-20146b3fe03f08c72db313973b75019e13198534.tar.bz2
samba-20146b3fe03f08c72db313973b75019e13198534.zip
build: fixed popt subsystem on systems without popt
Diffstat (limited to 'buildtools/wafsamba/samba_bundled.py')
-rw-r--r--buildtools/wafsamba/samba_bundled.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py
index 6e3753a790..a494907af0 100644
--- a/buildtools/wafsamba/samba_bundled.py
+++ b/buildtools/wafsamba/samba_bundled.py
@@ -59,7 +59,7 @@ def CHECK_BUNDLED_SYSTEM(conf, libname, minversion='0.0.0',
conf.env[found] = True
return True
if checkfunctions is not None:
- if conf.CHECK_FUNCS_IN(checkfunctions, libname, headers=headers):
+ if conf.CHECK_FUNCS_IN(checkfunctions, libname, headers=headers, empty_decl=False):
conf.env[found] = True
return True
conf.env[found] = False