From 183b2ab14cf223d744f1ee5c32653f2e71852f5d Mon Sep 17 00:00:00 2001 From: Urs Janssen Date: Tue, 19 Feb 2013 14:41:58 +0100 Subject: [PATCH] don't confuse LD_LIBRARY_PATH (run time) with LIBRARY_PATH (link time) --- libtcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtcc.c b/libtcc.c index 25d004c4..3ef16824 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 +} -- 2.11.4.GIT