aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common/SConscript b/tests/common/SConscript
index a202ca47..05e2f852 100644
--- a/tests/common/SConscript
+++ b/tests/common/SConscript
@@ -41,8 +41,8 @@ malloc_strict.Object("pb_decode_with_malloc.o", "$NANOPB/pb_decode.c")
malloc_strict.Object("pb_encode_with_malloc.o", "$NANOPB/pb_encode.c")
malloc_strict.Object("pb_common_with_malloc.o", "$NANOPB/pb_common.c")
-mw = env.Object("malloc_wrappers.o", "malloc_wrappers.c")
-Depends(mw, ["malloc_wrappers_syshdr.h"])
+malloc_env.Object("malloc_wrappers.o", "malloc_wrappers.c")
+malloc_env.Depends("$NANOPB/pb.h", ["malloc_wrappers_syshdr.h", "malloc_wrappers.h"])
Export("malloc_env")