From fd80a305399678ad497ac32317a02a4e7cef105c Mon Sep 17 00:00:00 2001 From: Chris Zheng Date: Mon, 23 May 2022 11:47:14 +0800 Subject: [PATCH] fixing bug with home_path option --- tcc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcc.lua b/tcc.lua index a6e43d7..e91b59a 100644 --- a/tcc.lua +++ b/tcc.lua @@ -48,7 +48,7 @@ tcc.clib = nil --local tcc = require("tcc").load("tcc", "/lib/tcc") function tcc.load(lib, home_path) if home_path then - tcc.home_path = tccdir + tcc.home_path = home_path else tcc.home_path = os.getenv("CONFIG_TCCDIR") or tcc.home_path end