don't confuse LD_LIBRARY_PATH (run time) with LIBRARY_PATH (link time)
This commit is contained in:
parent
0ad857c80e
commit
183b2ab14c
1 changed files with 2 additions and 2 deletions
4
libtcc.c
4
libtcc.c
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue