File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -665,7 +665,7 @@ def compile_source_files(
665
665
):
666
666
build_envs = prepare_build_envs (config , default_env , debug_allowed )
667
667
objects = []
668
- components_dir = fs .to_unix_path (os .path .join (FRAMEWORK_DIR , "components" ))
668
+ components_dir = fs .to_unix_path (os .path .join (FRAMEWORK_DIR , "components" )). lower ()
669
669
for source in config .get ("sources" , []):
670
670
if source ["path" ].endswith (".rule" ):
671
671
continue
@@ -674,7 +674,10 @@ def compile_source_files(
674
674
src_dir = config ["paths" ]["source" ]
675
675
if not os .path .isabs (src_dir ):
676
676
src_dir = os .path .join (project_src_dir , config ["paths" ]["source" ])
677
- src_path = source .get ("path" )
677
+ src_path = os .path .join (
678
+ os .path .dirname (source .get ("path" )).lower (),
679
+ os .path .basename (source .get ("path" ))
680
+ )
678
681
if not os .path .isabs (src_path ):
679
682
# For cases when sources are located near CMakeLists.txt
680
683
src_path = os .path .join (project_src_dir , src_path )
You can’t perform that action at this time.
0 commit comments