summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/action/require/impl/lock_packages.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/lock_packages.lua b/xmake/modules/private/action/require/impl/lock_packages.lua
index 6a962ba77..bbda552b7 100644
--- a/xmake/modules/private/action/require/impl/lock_packages.lua
+++ b/xmake/modules/private/action/require/impl/lock_packages.lua
@@ -66,7 +66,7 @@ function main(packages)
local packagelock_key = _get_packagelock_key(instance)
results[key][packagelock_key] = _lock_package(instance)
end
- io.writefile(project.requireslock(), string.serialize(results, {orderkeys = true}))
+ io.writefile(project.requireslock(), string.serialize(results, {orderkeys = true}), {encoding = "binary"})
end
end