summaryrefslogtreecommitdiff
path: root/xmake/rules/platform/windows/subsystem/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-09-06 19:24:15 +0800
committerruki <[email protected]>2025-09-06 19:24:15 +0800
commit8412d57c5c011240111820288b658f74ae8dc05e (patch)
tree20bcd55348bb4ca57baaa226a17ceceed81eaa30 /xmake/rules/platform/windows/subsystem/xmake.lua
parent76f10432e1ad6b20b8e1c8ed7b7576dc274fe31b (diff)
fix qt rule order
Diffstat (limited to 'xmake/rules/platform/windows/subsystem/xmake.lua')
-rw-r--r--xmake/rules/platform/windows/subsystem/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/platform/windows/subsystem/xmake.lua b/xmake/rules/platform/windows/subsystem/xmake.lua
index 60fa59dc4..6ee96324a 100644
--- a/xmake/rules/platform/windows/subsystem/xmake.lua
+++ b/xmake/rules/platform/windows/subsystem/xmake.lua
@@ -22,7 +22,7 @@
-- set any of "boot_application" "console" "efi_application" "efi_boot_service_driver" "efi_rom" "efi_runtime_driver" "native" "posix" "windows"
-- with target:set_values("windows.subsystem", <your value>) and the rule will pass the proper flag to the linker
rule("platform.windows.subsystem")
- on_config("mingw", "windows", function(target)
+ after_config("mingw", "windows", function(target)
local subsystems = {
"BOOT_APPLICATION", "CONSOLE", "EFI_APPLICATION", "EFI_BOOT_SERVICE_DRIVER", "EFI_ROM", "EFI_RUNTIME_DRIVER", "NATIVE", "POSIX", "WINDOWS"
}