diff options
Diffstat (limited to 'xmake/includes/check_ctypes.lua')
| -rw-r--r-- | xmake/includes/check_ctypes.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xmake/includes/check_ctypes.lua b/xmake/includes/check_ctypes.lua index a6178c7c0..8bed250b9 100644 --- a/xmake/includes/check_ctypes.lua +++ b/xmake/includes/check_ctypes.lua @@ -44,6 +44,12 @@ function check_ctypes(definition, types, opt) if opt.cxflags then add_cxflags(opt.cxflags) end + if opt.defines then + add_defines(opt.defines) + end + if opt.includes then + add_cincludes(opt.includes) + end option_end() add_options(optname) end @@ -70,6 +76,12 @@ function configvar_check_ctypes(definition, types, opt) if opt.cxflags then add_cxflags(opt.cxflags) end + if opt.defines then + add_defines(opt.defines) + end + if opt.includes then + add_cincludes(opt.includes) + end option_end() add_options(optname) end |
