summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/base/os.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 27b909117..359ff24cb 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -459,6 +459,8 @@ function os.tmpdir()
local ldpath = os.getenv("LD_LIBRARY_PATH")
if ldpath and ldpath:find("libfakeroot", 1, true) then
os._FAKEROOT = true
+ else
+ os._FAKEROOT = false
end
end