heimdal wscript changes
authorAlexander Bokovoy <ab@samba.org>
Fri, 20 Apr 2018 11:01:51 +0000 (14:01 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 04:37:25 +0000 (06:37 +0200)
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/heimdal_build/wscript_build

index 97828407247929aed1915a9b95b81be8b86ad5af..af76c0e6e0ef6dc463e95ec69d30d5d0fdf3f624 100644 (file)
@@ -205,7 +205,7 @@ def HEIMDAL_GENERATOR(name, rule, source='', target='',
         target=target,
         shell=isinstance(rule, str),
         update_outputs=True,
-        before='cc',
+        before='c',
         ext_out='.c',
         vars=[rule],
         samba_type='GENERATOR',
@@ -912,8 +912,12 @@ HEIMDAL_SUBSYSTEM('HEIMDAL_VERS',
 if not bld.CONFIG_SET('USING_SYSTEM_ASN1_COMPILE'):
     # here is the asn1 compiler build rule
     HEIMDAL_BINARY('asn1_compile',
-    'lib/asn1/main.c lib/asn1/gen.c lib/asn1/gen_copy.c lib/asn1/gen_decode.c lib/asn1/gen_encode.c lib/asn1/gen_free.c lib/asn1/gen_glue.c lib/asn1/gen_length.c lib/asn1/gen_seq.c lib/asn1/gen_template.c lib/asn1/hash.c lib/asn1/symbol.c lib/asn1/asn1parse.c lib/asn1/lex.c',
-    use_hostcc=True,
+        'lib/asn1/gen.c lib/asn1/gen_copy.c '
+        'lib/asn1/gen_decode.c lib/asn1/gen_encode.c lib/asn1/gen_free.c '
+        'lib/asn1/gen_glue.c lib/asn1/gen_length.c lib/asn1/gen_seq.c '
+        'lib/asn1/gen_template.c lib/asn1/hash.c lib/asn1/symbol.c '
+        'lib/asn1/asn1parse.c lib/asn1/lex.c lib/asn1/main.c',
+        use_hostcc=True,
         use_global_deps=False,
         cflags='-DSOCKET_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_',
         includes='../heimdal/lib/asn1',