mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-07 20:08:41 +08:00
don't confuse LD_LIBRARY_PATH (run time) with LIBRARY_PATH (link time)
This commit is contained in:
parent
0ad857c80e
commit
183b2ab14c
2
libtcc.c
2
libtcc.c
@ -1954,7 +1954,7 @@ PUB_FUNC void tcc_set_environment(TCCState *s)
|
|||||||
if(path != NULL) {
|
if(path != NULL) {
|
||||||
tcc_add_include_path(s, path);
|
tcc_add_include_path(s, path);
|
||||||
}
|
}
|
||||||
path = getenv("LD_LIBRARY_PATH");
|
path = getenv("LIBRARY_PATH");
|
||||||
if(path != NULL) {
|
if(path != NULL) {
|
||||||
tcc_add_library_path(s, path);
|
tcc_add_library_path(s, path);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user