summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/samba_asn1.py2
-rw-r--r--buildtools/wafsamba/wafsamba.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_asn1.py b/buildtools/wafsamba/samba_asn1.py
index 63000ebd5b..22f664981f 100644
--- a/buildtools/wafsamba/samba_asn1.py
+++ b/buildtools/wafsamba/samba_asn1.py
@@ -65,6 +65,7 @@ def SAMBA_ASN1(bld, name, source,
source = out_files[0],
target = cfile,
shell = True,
+ on_results=True,
ext_out = '.c',
ext_in = '.x',
depends_on = name + '_ASN1',
@@ -75,6 +76,7 @@ def SAMBA_ASN1(bld, name, source,
source = out_files[1],
ext_out = '.c',
ext_in = '.x',
+ on_results=True,
target = hfile,
depends_on = name + '_ASN1',
name = name + '_H')
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 7297224234..0e82ec7e35 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -436,6 +436,7 @@ def SAMBA_GENERATOR(bld, name, rule, source, target,
source=source,
target=target,
shell=True,
+ on_results=True,
before='cc',
ext_out='.c',
name=name)