mirror of
https://github.com/frida/tinycc
synced 2024-11-28 10:33:07 +03:00
don't confuse LD_LIBRARY_PATH (run time) with LIBRARY_PATH (link time)
This commit is contained in:
parent
0ad857c80e
commit
183b2ab14c
4
libtcc.c
4
libtcc.c
@ -1954,8 +1954,8 @@ 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