diff options
| author | ruki <[email protected]> | 2024-03-21 22:29:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-21 22:29:54 +0800 |
| commit | be186a5aaa7e23bbd6305fa05cedb11b06ac8feb (patch) | |
| tree | 8bb8fc7c6fc296febf2a969ad652b2746a676d82 /xmake/rules | |
| parent | 9936e7c854e18b0e02da137e056047c104e045a0 (diff) | |
fix swig flags
Diffstat (limited to 'xmake/rules')
| -rw-r--r-- | xmake/rules/swig/build_module_file.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/swig/build_module_file.lua b/xmake/rules/swig/build_module_file.lua index 2599834ae..2eecd5fb0 100644 --- a/xmake/rules/swig/build_module_file.lua +++ b/xmake/rules/swig/build_module_file.lua @@ -39,7 +39,7 @@ function main(target, batchcmds, sourcefile, opt) table.insert(argv, "-c++") end local fileconfig = target:fileconfig(sourcefile) - if fileconfig.swigflags then + if fileconfig and fileconfig.swigflags then table.join2(argv, fileconfig.swigflags) end |
