summaryrefslogtreecommitdiff
path: root/lib/crypto/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/wscript_build')
-rw-r--r--lib/crypto/wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/wscript_build b/lib/crypto/wscript_build
index e056f653fb..a1f29aed5d 100644
--- a/lib/crypto/wscript_build
+++ b/lib/crypto/wscript_build
@@ -8,7 +8,7 @@ elif bld.CONFIG_SET('HAVE_SYS_MD5_H') and bld.CONFIG_SET('HAVE_LIBMD5'):
extra_deps += ' md5'
elif bld.CONFIG_SET('HAVE_SYS_MD5_H') and bld.CONFIG_SET('HAVE_LIBMD'):
extra_deps += ' md'
-elif not bld.CONFIG_SET('HAVE_COMMONCRYPTO_COMMONDIGEST_H'):
+elif not bld.CONFIG_SET('HAVE_SYS_MD5_H') and not bld.CONFIG_SET('HAVE_COMMONCRYPTO_COMMONDIGEST_H'):
extra_source += ' md5.c'
bld.SAMBA_SUBSYSTEM('LIBCRYPTO',