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_build4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/crypto/wscript_build b/lib/crypto/wscript_build
index cd7a466a15..e056f653fb 100644
--- a/lib/crypto/wscript_build
+++ b/lib/crypto/wscript_build
@@ -4,6 +4,10 @@ extra_source = ''
extra_deps = ''
if bld.CONFIG_SET('HAVE_BSD_MD5_H'):
extra_deps += ' bsd'
+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'):
extra_source += ' md5.c'