feat(util/lean_path.cpp): add "exe_path/../lib/lean" to LEAN_PATH

Related issue: #223
This commit is contained in:
Soonho Kong 2014-10-07 13:36:32 -07:00
parent fc82857dc1
commit e40ef9f6c5

View file

@ -125,6 +125,8 @@ void init_lean_path() {
std::string exe_path = get_path(get_exe_location());
*g_lean_path += g_path_sep;
*g_lean_path += exe_path + g_sep + ".." + g_sep + "library";
*g_lean_path += g_path_sep;
*g_lean_path += exe_path + g_sep + ".." + g_sep + "lib" + g_sep + "lean";
} else {
*g_lean_path = r;
}