diff options
| author | ruki <[email protected]> | 2025-08-10 22:34:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-10 22:35:19 +0800 |
| commit | 7dd79e468b3cf5c66f7b1bc4077bc12602fe7b92 (patch) | |
| tree | 58592be2bd08cd2ec1ec0498718b1d128d15e61d | |
| parent | 74f61a33d6af99e80bf55fee60c3acea09f4e1d8 (diff) | |
fix configfiles preprocessor #6685
| -rw-r--r-- | xmake/actions/config/configfiles.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/configfiles.lua b/xmake/actions/config/configfiles.lua index e99f3130c..ce435d774 100644 --- a/xmake/actions/config/configfiles.lua +++ b/xmake/actions/config/configfiles.lua @@ -74,7 +74,7 @@ function _get_configfiles() table.insert(srcinfo.targets, target) -- save preprocessors - local preprocessor = target:extraconf("configfiles", srcfile, "preprocessor") + local preprocessor = fileinfo and fileinfo.preprocessor if preprocessor then srcinfo.preprocessors = srcinfo.preprocessors or {} table.insert(srcinfo.preprocessors, preprocessor) |
