summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/aesni-intel/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/aesni-intel/wscript b/third_party/aesni-intel/wscript
index 955b5162140..382b3c6a7ff 100644
--- a/third_party/aesni-intel/wscript
+++ b/third_party/aesni-intel/wscript
@@ -21,7 +21,8 @@ def configure(conf):
raise Errors.WafError('--accel-aes=intelaesni selected and linker rejects -z noexecstack')
def build(bld):
- if not bld.CONFIG_SET('HAVE_AESNI_INTEL'):
+ if (not bld.CONFIG_SET('HAVE_AESNI_INTEL') or
+ bld.CONFIG_SET('HAVE_GNUTLS_AES_CMAC')):
return
bld.SAMBA_LIBRARY('aesni-intel',