build: Remove bld.gen_python_environments()
[samba.git] / lib / crypto / wscript_build
index f3257d8..6841f99 100644 (file)
@@ -15,7 +15,7 @@ if bld.CONFIG_SET("HAVE_AESNI_INTEL"):
         extra_deps += ' aesni-intel'
 
 bld.SAMBA_SUBSYSTEM('LIBCRYPTO',
-        source='''crc32.c hmacmd5.c md4.c arcfour.c sha256.c sha512.c hmacsha256.c
+        source='''hmacmd5.c md4.c arcfour.c sha256.c sha512.c hmacsha256.c
         aes.c rijndael-alg-fst.c aes_cmac_128.c aes_ccm_128.c aes_gcm_128.c
         ''' + extra_source,
         deps='talloc' + extra_deps
@@ -29,9 +29,8 @@ bld.SAMBA_SUBSYSTEM('TORTURE_LIBCRYPTO',
         deps='LIBCRYPTO'
         )
 
-for env in bld.gen_python_environments():
-       bld.SAMBA_PYTHON('python_crypto',
-               source='py_crypto.c',
-               deps='LIBCRYPTO',
-               realname='samba/crypto.so'
+bld.SAMBA_PYTHON('python_crypto',
+                source='py_crypto.c',
+                deps='LIBCRYPTO',
+                realname='samba/crypto.so'
                )