third_party: Add build capability to aesni-intel.
[Samba.git] / third_party / aesni-intel / wscript
blob002ba5d42d1463cb7cc45c17e73a4ad573a847db
1 #!/usr/bin/env python
3 def configure(conf):
4 if conf.CHECK_CFLAGS('-Wp,-E,-lang-asm', '') and conf.env['SYSTEM_UNAME_MACHINE'] == 'x86_64':
5 conf.DEFINE('HAVE_AESNI_INTEL', 1)
7 def build(bld):
8 if not bld.CONFIG_SET('HAVE_AESNI_INTEL'):
9 return
11 bld.SAMBA_LIBRARY('aesni-intel',
12 source='aesni-intel_asm.c',
13 cflags='-Wp,-E,-lang-asm',
14 private_library=True)