diff options
| author | ruki <[email protected]> | 2022-05-28 19:10:08 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-28 19:10:08 +0800 |
| commit | 6b2c7feddae06f86b4b28791e2c84c59f2a6423d (patch) | |
| tree | 268b8e4dbef0a5bcc2728e1c4b0789886d7bb209 | |
| parent | c5e9c2694b2f022b9e252c47c58876326a463050 (diff) | |
| parent | d5b0b98c2670e5deb0f685ded67f848377fd4a76 (diff) | |
Merge pull request #2391 from xq114/dev
improve package.tools.meson
| -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 0ee1839b6..f419086d5 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -56,7 +56,7 @@ function _get_configs(package, configs, opt) table.insert(configs, "--libdir=lib") -- set build type - table.insert(configs, "--buildtype=" .. (package:debug() and "debug" or "release")) + table.insert(configs, "-Dbuildtype=" .. (package:debug() and "debug" or "release")) -- add -fpic if package:is_plat("linux") and package:config("pic") then |
