diff --git a/libtcc.c b/libtcc.c index 25d004c..3ef1682 100644 --- a/libtcc.c +++ b/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); } -} \ No newline at end of file +}