summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/package/tools/meson.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua
index fbc6bbe77..ec95c4f42 100644
--- a/xmake/modules/package/tools/meson.lua
+++ b/xmake/modules/package/tools/meson.lua
@@ -331,7 +331,7 @@ function _get_configs(package, configs, opt)
-- add prefix
configs = configs or {}
opt._configs_str = string.serialize(configs, {indent = false, strip = true})
- table.insert(configs, "--prefix=" .. (opt.prefix or package:installdir()))
+ table.insert(configs, "--prefix=" .. path.unix(opt.prefix or package:installdir()))
table.insert(configs, "--libdir=lib")
-- set build type