aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-12-27 00:37:59 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-12-27 00:37:59 +0200
commit7be7c7769f9532b2aca98e271540a565a6a321e6 (patch)
treedc31bac293ca312fb1393e9666919ada3c9a1aed /tests
parent88b2efe0477f4f9e313b5d7307dfd347b6893376 (diff)
Fix build failure due to missing dependency in SConscript
Diffstat (limited to 'tests')
-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")