Commit d8e5ac5f authored by Ronny Wichers Schreur's avatar Ronny Wichers Schreur 🏢
Browse files

Always append current directory to cocl search paths.

parent 5aa7443e
......@@ -1990,9 +1990,18 @@ static int compile_project_node (P_NODE project_node)
*arg++=cocl_path_list;
#else
if (clean_path_list!=NULL)
*arg++=clean_path_list;
else
if (clean_path_list!=NULL) {
int path_list_length;
char *cocl_path_list;
path_list_length=strlen (clean_path_list)+2;
cocl_path_list=memory_allocate (path_list_length);
cocl_path_list[0]='\0';
strcat (cocl_path_list,clean_path_list);
strcat (cocl_path_list,":.");
*arg++=cocl_path_list;
} else
*arg++=".";
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment