This commit is contained in:
yiyue.fang 2013-04-10 21:51:16 +08:00
commit 8185f9888d
1 changed files with 6 additions and 1 deletions

View File

@ -35,6 +35,11 @@ void* dlopen(const char *filename, int flags)
rt_snprintf(fullpath, strlen(def_path) + strlen(filename) + 2,
"%s/%s", def_path, filename);
}
else
{
rt_kprintf("use absolute path\n");
return RT_NULL;
}
/* find in module list */
module = rt_module_find(fullpath);