diff options
| author | ruki <[email protected]> | 2026-04-01 23:21:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-04-01 23:21:04 +0800 |
| commit | d7fcddd12197d427ad89d8967515f2e7afd16790 (patch) | |
| tree | 4fbc484131350610437a5be24d1df0b69e1794f2 | |
| parent | 4222dfcc1e73ec1f6fbe399ff1de6fb52e17af1e (diff) | |
fix meson install prefix path
| -rw-r--r-- | xmake/modules/package/tools/meson.lua | 2 |
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 |
