From 641c743b272e299e03ab374153cc29f7805bb7d6 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sat, 27 Dec 2014 00:37:59 +0200 Subject: [PATCH] Fix build failure due to missing dependency in SConscript --- tests/common/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/common/SConscript b/tests/common/SConscript index f444418..ead1589 100644 --- a/tests/common/SConscript +++ b/tests/common/SConscript @@ -39,8 +39,8 @@ malloc_strict.Append(CFLAGS = malloc_strict['CORECFLAGS']) malloc_strict.Object("pb_decode_with_malloc.o", "$NANOPB/pb_decode.c") malloc_strict.Object("pb_encode_with_malloc.o", "$NANOPB/pb_encode.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")