don't confuse LD_LIBRARY_PATH (run time) with LIBRARY_PATH (link time)

master
Urs Janssen 2013-02-19 14:41:58 +01:00
parent 0ad857c80e
commit 183b2ab14c
1 changed files with 2 additions and 2 deletions

View File

@ -1954,8 +1954,8 @@ PUB_FUNC void tcc_set_environment(TCCState *s)
if(path != NULL) {
tcc_add_include_path(s, path);
}
path = getenv("LD_LIBRARY_PATH");
path = getenv("LIBRARY_PATH");
if(path != NULL) {
tcc_add_library_path(s, path);
}
}
}