From b2f2b9e14820dd3be645f8598afeb55e4fd3b402 Mon Sep 17 00:00:00 2001 From: hydevcode Date: Wed, 2 Oct 2024 17:55:48 +0800 Subject: [PATCH] fix(rt-thread): fix compile error (#6938) --- env_support/rt-thread/SConscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/env_support/rt-thread/SConscript b/env_support/rt-thread/SConscript index 56983c0a5..72fc9d0e5 100644 --- a/env_support/rt-thread/SConscript +++ b/env_support/rt-thread/SConscript @@ -28,6 +28,8 @@ src = src + Glob(os.path.join(lvgl_src_cwd,'*.c')) for root, dirs, files in os.walk(lvgl_src_cwd): for dir in dirs: current_path = os.path.join(root, dir) + if current_path == os.path.join(lvgl_src_cwd, 'libs', 'thorvg', 'rapidjson', 'msinttypes'): # exclude the msinttypes folder + continue src = src + Glob(os.path.join(current_path,'*.c')) # add all .c files if check_h_hpp_exists(current_path): # add .h and .hpp path inc = inc + [current_path]