diff options
| author | ruki <[email protected]> | 2021-11-27 12:17:36 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-27 12:17:36 +0800 |
| commit | 4e40a9197b6e2ec738fa882eade00777b89e23d9 (patch) | |
| tree | 8f8cd5c875bfeb5290548dbd68d66c9eee75a1e2 | |
| parent | c5e54bde7d9b0cdbc0cf84c0cc9ca1590c60fb6b (diff) | |
Update meson.lua
| -rw-r--r-- | xmake/modules/package/tools/meson.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua index 70e52f923..e4fa993ff 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -128,6 +128,7 @@ end -- get the build environments function buildenvs(package) local envs = {} + opt = opt or {} if package:is_plat(os.host()) then local cflags = table.join(table.wrap(package:config("cxflags")), package:config("cflags")) local cxxflags = table.join(table.wrap(package:config("cxflags")), package:config("cxxflags")) |
