aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtcc.c4
1 files changed, 2 insertions, 2 deletions
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
+}